SketchUcation Plugin Store

 

 

DXF / DWG with text and linetypes in SketchUP !

General discussion related to SketchUp. No off topic threads please.

DXF / DWG with text and linetypes in SketchUP !

Postby beginner » Tue May 22, 2012 8:47 pm

Dear All,

I was looking for some good solution to get DXF/DWG including text and line types into the SketchUP.
And this is the result.




Standard DXF/DWG Import done in SketchUP Pro


Regards, SU 'beginner'
User avatar
beginner
Premium Member
Premium Member
 
Posts: 183
Joined: Wed Apr 18, 2012 9:31 pm
Location: London, UK
Name: beginner
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Beginner

Re: DXF / DWG with text and linetypes in SketchUP !

Postby jsl » Wed May 23, 2012 8:04 am

so, how was it done? :?:
jsl
 
Posts: 4
Joined: Sun Jun 20, 2010 2:02 am

Re: DXF / DWG with text and linetypes in SketchUP !

Postby Sir » Wed May 23, 2012 8:08 am

Can you give us some more information please - is the imported drawing readable as seperate lines and text? or is it more of an image?

How do you do it?

etc etc
Sir
 
Posts: 178
Joined: Mon Jan 12, 2009 3:42 pm
Name: Mat B

Re: DXF / DWG with text and linetypes in SketchUP !

Postby ArCAD-UK » Wed May 23, 2012 9:48 am

Sir wrote:Can you give us some more information please - is the imported drawing readable as seperate lines and text? or is it more of an image?

How do you do it?

etc etc

If this is vector I'm very interested!
ArCAD-UK
 
Posts: 332
Joined: Tue Feb 08, 2011 11:21 pm
Location: SW Scotland
Name: Trevor B.
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: DXF / DWG with text and linetypes in SketchUP !

Postby thomthom » Wed May 23, 2012 10:06 am

This thread need more info. As it stands now it's doesn't really help much.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17915
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: DXF / DWG with text and linetypes in SketchUP !

Postby TIG » Wed May 23, 2012 10:40 am

Looks like the text was exploded into lines that would then be importable [although the file size gets very big!].
It's good idea to edit the CAD file to remove unwanted/unused detail that won't get imported [like hatching], then purge/audit before trying the import.
If you save the DWG as a DXF [say r2004] then you can import that DXF's raw geometry [keeping the CAD origin], then use my 'importDXFtext' script to import the CAD text part only, it comes in as 'flat' 3d-text, using the equivalent size/font/style/location/layer/color etc wherever possible.
The two imports should then overlay properly; so that then grouping them as one you can move them back to a sensible SKP origin...
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: DXF / DWG with text and linetypes in SketchUP !

Postby beginner » Thu May 24, 2012 10:19 am

TIG wrote:Looks like the text was exploded into lines that would then be importable [although the file size gets very big!].
It's good idea to edit the CAD file to remove unwanted/unused detail that won't get imported [like hatching], then purge/audit before trying the import.
If you save the DWG as a DXF [say r2004] then you can import that DXF's raw geometry [keeping the CAD origin], then use my 'importDXFtext' script to import the CAD text part only, it comes in as 'flat' 3d-text, using the equivalent size/font/style/location/layer/color etc wherever possible.
The two imports should then overlay properly; so that then grouping them as one you can move them back to a sensible SKP origin...

TIG, I've managed to import my text using 'importDXFtext', but only once. I tried to import the text once again and it didn't work :( and I looked for other solution.
The problem with the text is that you don't have any common origin point between imported lines and imported text - sometimes it is crucial to have the same reference point to align drawings.




Dear All,

As TIG said it is a bunch of vectors – approx. 15,500 of them, but it works !

I don’t have enough time to do the ‘proper’ tutorial, but I have listed the software and steps taken.
You need the following:
• AutoCAD (LT is fine)
• PDF Creator
• Any PDF to DWG Converter
• SketchUP PRO


Step 1 – Open DWG, explode all objects, change all fonts to simplex.shx
Step 2 – Draw rectangle around the drawing – would be used to scale the drawing in SU
Step 3 – Print to PDF – I used PDF Creator
Step 4 – Save the drawing as exploded DWG – we will use the drawing as ‘Scale Reference’ in SU
Step 5 – Download ‘Any PDF to DWG Converter’
Step 6 – Open the PDF with 'Any PDF to DWG Converter', set in ‘Options - Centreline’ and ‘Convert Now’ – it could be converted to DWG or DXF – I used AutoCAD 13
• I didn’t manage to have the right scale but, the rectangle from Step 2 would come to the rescue later (see Step 10)
Step 7 – Open SU PRO, import ‘exploded DWG from Step 4’ and make group
Step 8 – Open 2nd session of SU PRO and import ‘converted DWG from Step 6’ and make group
Step 9 – You could copy one of the drawings (Select and Ctrl+C) and paste to the other (Ctrl+V)
Step 10 – Scale using ‘anchors’ – simply drag ‘edge to edge’ of previously drawn rectangle to match the converted drawing size

Regards
Regards, SU 'beginner'
User avatar
beginner
Premium Member
Premium Member
 
Posts: 183
Joined: Wed Apr 18, 2012 9:31 pm
Location: London, UK
Name: beginner
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Beginner

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to SketchUp Discussions

Who is online

Users browsing this forum: OMAR F. and 7 guests