Convtosolid

Hi, What workaround to convert this skp surfaces shape to a solid?
The problem is that Sketchup does not give me watertight surfaces on import.

Comments

  • Hi Hans,
    in the posted DWG there are Blocks, Surfaces, regions and a solid.....
    So there is not a general workaround to convert everything to solids... you will have to proceed according to the object considered.
    So the part below in cyan is a Surface but you can't convert it to a solid using CONVTOSOLID.
    Enclose the Surface(cyan) in a solid(yellow) and use the SLICE command with the Option Surface, to slice the solid into 2 solids,
    the enclosure Solid (magenta) and the Solid within the cutting Surface (RED), which is the solid that you want !

    Specify first point on slicing plane or [Object/ Surface /Zaxis/View/XY/YZ/ZX/Line-point/3points/Multislice] <3points>:
    Proceed accordingly for every Surface in the drawing....
    If you have 3Dfaces and regions, use CONVTOSURFACE and DMSTITCH to convert them to one Surface then proceed as above...
    The parts above are Blocks , explode them and you get Surfaces and Blocks and explode again the blocks to surfaces and blocks...and so forth...
    At the end you get 2 blocks that can't be exploded because they have different scale factors X,Y, Z, so
    you have to either find a lisp routine doing this (there are probably many in the web) or manually save the scale factors, change them to the same factor, explode and adapt the Surfaces using the saved factors ,then use the method described above to convert them to solids.
    I attach a lisp routine that creates a solid box for every selected entity , use the command GETBBOX or GETBBOXM (for multiple elements)
    Enjoy!

    imageimage