DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Max 24: Again, problems with Solid Subtract

Started by jym_ing, February 04, 2016, 11:39:40 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jym_ing

Dear DCAD friends...
For decades, I'm in trouble with Solid Subtract command.
Sometimes it works great (even with very sophisticated volumes), sometimes unable to subtract a simple box from another.
There are lots of topics about this trouble, but I did not find the right solution (maybe I missed something?)
Anyhow, I'm now working with Max 24.
Sometimes, Solid Subtract works fine, but export in DWG result in a desaster.
See attached image, windows and doors are properly created in wall 1, but not in wall 2.....

Please help!
Thank you

magic

Hi jym_ing,

Typically the trouble with Solid Subtract as shown in your illustration Wall 2 (and 2½) is that the solid you subtract only aligns with the surface.

Sometimes you need to let it stick out a little bit on both sides of the solid that you want to subtract from.

Hope this helps.
It's a kind of magic!




jym_ing

Thank you, Magic
Yes sure, the solids to substract were larger than the wall....
JYM

Rob S

#3
I know there was a previous thread on this subject, where holes in solids properly made in designcad do NOT show up in autocad.  They would appear "skinned over", as per your image.

I don't know when this was, maybe if we all search for it, someone may find it again, but I'm unsure if a real solution or workaround was found at the time either.

more later, hopefully...

ps found it - no joy, not sure if any improvements made in this regard in V25

http://forum.designcad.com/index.php?topic=5032.msg32640#msg32640
User since forever

Lar

Jym,

I to am constantly faced with your problem, as I too have to export via dxf/dwg. The problem is, when it comes to holes, the export algorithm generates surfaces that just don't exist in your original.

I have no perfect solution for you but the 2 below are my best approaches:

a] Rather than doing the solid subtraction in dcad do it in the app you're exporting to. So you create the walls and the boxes for the holes and export the solid subtract there.This means you would need to know the best way to arrange your dcad drawing so it is easy to subtract in the other app. Also means you would need the other app and know how to use it.

or...

b] Before exporting split the wall around the holes in 2 so there are no completely enclosed holes. The easiest way to do this in dcad, for window openings, is to solid subtract the holes then slice the wall in the xz plane (horizontally) halfway through the shortest window. Since no single surface segment completely surrounds a hole the export should be ok. The problem with this is you now have unwanted lines you have to go about making invisible. In dcad this can be a chore but hopefully the other app can render this automatically, since edges between flat surfaces segments are ignored in most modern 3d packages.

fyi: after doing [ b ] above you may want to solid explode the wall-with-holes, drag select around the cut line and delete the extra surfaces that would be generated there, then re-solid defining the wall-with-holes. In the other app you may have to do some sort of 'optimizing' so separate points that are in the same location are 'melted down' into single points.

There is another possibility but it doesn't work for me: after the solid subtraction you can use the 'solid to surface' command (Edit menu>selection edit> convert...>). This would brake dcad's surfaces into 3-point surfaces, which are more compatible with other 3d apps. It may work for you but it doesn't for me because 1] usually converting such a wall crashes dcad, 2] my external app ignores dcad's 'solid surface' entities and 3] ...I can re-import the export so I get the 'solid surface' back into 3-point planes but this still generates a bunch of surfaces across and through the holes.

Lar

DrollTroll

If you convert the resulting solid to a solid surface in V25 before export, it should work just fine in other apps. This may also work in v24, where Solid Surfaces were introduced, but we quite a bit of fine-tuning of solid surfaces in V25.
25 years with DesignCAD

Lar

#6
DT, I tested exporting solid surfaces to Cinema 4D (v9 and v16) just before my last post and they were ignored in C4D (things like blocks, symbols and hatches also get ignored).

However, if I solid explode the solid surface the resulting collection of plane go over ok, with the holes ok. In C4D it would come over as a single entity (just consisting of individual 3-point surfaces). I would then 'optimize' to melt the co-incident points (of adjacent surfaces) into one and to bond the surface edges, so the edge lines don't render in sketch mode. Not difficult to do since I can easily select all solids and optimize everything in one go.

Quote from: Lar on February 05, 2016, 08:39:52 AM
I have no perfect solution for you but...
So, for me, converting to solid surfaces would be the nearest thing to perfection. Not sure yet how solid surfaces behave in dcad in the long run so I would undo the convert after exporting.

Lar

Dr PR

Here are a couple of wild guesses but I do not know for certain that they will help. I have never seen these glazed over holes because I rarely export 3D to other programs.

My guess is that the problem results from some odd point numbering so the points in the solid are not ordered sequentially around the perimeter of the surface with the opening. DesignCAD displays them OK but other programs use the point numbering religiously to render the object and the surface folds back upon itself.

****

Sometimes DesignCAD solid Boolean operations create extra facets and internal surfaces. You can get rid of these with a very simple trick:

1. Draw another solid (a cube/box) off to the side where it doesn't overlap anything.

2. Use "Solid Subtract" to subtract this extra solid from your working solid. Because the two do not overlap nothing is apparently subtracted from your work solid. However, while DesignCAD is scratching its head trying to figure out what you want it to do it optimizes the resulting work solid and removes unnecessary facets.

With luck this might remove these covered openings.

****

Another thing you might try is selecting the offending solid, open the Info Box and click the button near the top with the horizontal red and blue arrows. This "reverses" the point order so it might cause the program to clean up the point numbering.

****

If either of these tricks solves the problem please post the results! Someone else is sure to have this problem, and any solution will help DT and the programmers find and fix the problem.

Phil
DesignCAD user since 1987

JJG

Dr PR,

thank's for these both tricks I had heard in the past from Cogistem (french distributor of Designcad), but I now could not remember ! Yes, indeed, for exchange with TopSolid (which is using Parasolid v.14 graphics engine), I today experimented the cleaning of 3D models exported from TopSolid to DesignCad through dwg3D, and like you say, DesignCad can clean up some unnecessary facets, or reduce the number of points.
Thank's again for reminding me this trick!
;)

jym_ing

Thank you for your suggestions.

I tried several tricks:
- Instead of substract a box from a box, I made a cylinder with 4 faces, adjusted the dimensions using Scale. It worked with one wall, but didn(t work with another one....
- I tried to substract a box which did not overlap the wall, subtract, then subtract the overlapping box, but it didn't work
- I tried to export as DWG, then save in R12, re-import in DCAD: big mess.
I tried the same with Rhino, same result.

More to come...

jym_ing

Well, I think that Max24 makes more troubles than Max23.

Attached image compares the same model, exported in DWG with Max 23 and 24, displayed in Shaded illustration with Deep Exploration software.

DrollTroll

The primary difference I see is that the result from version 24 shows more of the cut lines where the planes were cut to make the holes for doors or windows. Were the exported objects Solid Surfaces in V24? Solid Surfaces reduce the facets to triangles. This gets rid of that "holes are skinned over" effect you might see when loading the exported file in other software.
25 years with DesignCAD