Export 2d dxf with layers and Components
-
Hello !
This is my first post here!
I've been looking for a way to export my model into 2d dxf with a script but unfortunately i couldn't get my SU layers in the export. and even all the components are exploded.Is there a way to maintain the layers and components on 2d export or may be a plugin?
Please. -
The formats of 2D and 3D DXF exports are fundamentally different.
The 2D format is for 'flat' 'graphics' which makes the exported DXF geometry on a single layer and explodes arcs/circles etc into individual lines.
The 3D format is a proper DXF CAD format which keeps the geometry's layers and makes proper CAD arcs/circles etc. If you have drawn simple '2D' geometry if will export 'flat' too so the 3D DXF should work just fine too. However, if you have 3D geometry that you would like to become 'flat', then within your CAD application you might have a 'flatten' command to squish all of its 3D vertices down to one elevation; but if not, then there are ways of 'flattening' your 3D geometry in SketchUp [see Smustard 'flatten' and similar methods] - remember that these are destructive so you should work on a copy of your SKP... -
Thank you for your quick response Tig
I wanted a cleaner 2d geometry generated from sketchup with all my section cuts and finally to work further on cad. I would like my su model to be usable and export 2d dxf each time i update my su model. can i get something like the exportlayers2dae for dxf so that i can merge together the files to a single cad file with layers.
@Tig
I just Saw that you already have witten a nice script export_by_layer.rb
is it possible to make it export 2d dxfs in different layers ?
Thanks again.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement