DWG export with layers – plugin

Hello everyone,

Please leave a comment if you have ever requested the feature below.
DWG export with layers – SketchUp / Feature Requests – SketchUp Community

My team is working on this feature that could export DWG from Sketchup (not layout) to CAD. And the whole process will be completed in CAD. Here is the current output of the DWG file in CAD. Faces in Sketchup will export to a material image cropped with a rectangle.

If you click on a polyline, you can find out that the lines are connected.

We will then provide a tool that can transfer the image from clipped material to shaders.

We have organized some forum requests ahead. Let us know your thoughts on each question below.

1 Do you need to export the components to blocks? And because?

2 Do you need all layers to remain intact in the DWG file? And because?

3 What’s with all the patterns in the design? There is no fill tool in the layout, which means you have to redraw shapes for patterns. Do you think transferring images from material to shader in CAD is a good idea? This means that you must carry out all filling work in CAD.

We can definitely do all of the above, but when all the features are combined, it increases the workload and takes much longer to debug. So please tell us which one is the most important or if you have something else before all of the above. By the way, we cannot complete these functions with the Sketchup Export API or modify the Export API.



1 like

  1. Groups and components must be exported as filled blocks. The geometry below must exist below these.

  2. Yes, the layers must be intact. If I have built a layer structure in my model, I want it to be exported as such so that my partners/consultants can turn off unnecessary layers and have some indication of what that layer represents.

  3. I’m not sure? Ideally, the design would drive the process.

In my fantasy SU would export dwg such that each layer would build on top of the bottom one. Each layer would have filled in the groups/components geometry, so if my lighting designer wanted to turn off my lighting layer, the result would still be a coherent drawing that doesn’t just have random lines with missing geometry behind the layer I just made to turn off. .

Thanks and FWIW

I’m not an AutoCAD user, but my 2D program, PowerCADD, can use DWG or PDF for import.
• The first priority is simply to export with layers
• PowerCADD is a surface or polygon drawing program such as Adobe Illustrator, so filled polygons would be extremely useful. That would be the second priority.
• PowerCADD doesn’t support group content that spans multiple layers like SketchUp does, so I’m not sure what group/component or block translation features to look for.

I think exporting embedded or referenced raster images to AutoCad is not a great idea. Can you make the hatch replacement happen already at the export stage?

Same thing here, I’m using Qcad, but I work with people who use Autocad.

exporting by layers is by far the main thing. Right now, it’s the bypass that we’ve found, instead of exporting the entire view, turn on one or two layers, export, and then merge into different layers.
Even if in SU an object touches another object, if they are on different layers, they become easy to regroup in 2DCAD softwares. Especially if they are made up of polylines and polygons instead of loose, raw geometry.

Components are required for blocks because that’s what they are. Otherwise, selecting any object means making a potentially laborious selection set. It keeps things separate. It is expected.

Layers in DWG take precedence because that’s how we control viability and linetypes.

Converting images to shaders looks like the AI ​​stuff, but your method of selecting a shader would be much appreciated, even if it’s manual sizing and origin positioning. Drawing tile patterns with vector lines is tedious and revisions become a dread. Placing a texture is like a fun schematic and then turning it into a hatch is like saying it’s done. (I always thought that converting a texture to vector lines would be a cool plugin even if it wasn’t perfect… like Adobe Illustrator’s trace tool.)

Source link

James D. Brown
James D. Brown
Articles: 9385