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.

Double Line Mode/Autotrim

Started by skyline, November 09, 2012, 07:09:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skyline

Hello again,

More advice required, hope someone can help. Am drawing buildings with lots of rooms using double line mode. The problem I have is getting the double lines to merge into one continuous wall where they join. As it is the lines of both double line entities can been seen on all overlaps. I have tried all the commands I can find and the only one I have had success with is Combine Lines (B). But this only works if the end points meet so where a wall meets the middle of another wall with no end  point it doesnt work. It is also a problem where three walls with endpoints meet as the first two get combined but not the third.

I have also tried Autotrim which sounds like it should do a similar thing but when I select this from the double line mode toolbar and draw overlapping entities nothing seems to happen.

Is there an easy way to do this?

Cheers,
Skyline.

skyline

Making progress. Now I realise that Autotrim only works if this was selected when all the lines needing trimming were drawn. So you cant go back and trim afterwards and it does not work when overlapping all double line entities i.e. those drawn without it selected. Having established that at the start this may have been easier....Now by toggling between right and left align modes I can get most new lines to trim. But not all as you cannot always have a right meeting left. Am I making any sense? This only works if a left align meets a right alignment line otherwise it thinks there is no overlap. If you use centre align you get notches in all the corners, but this is the mode you need to use to easily get room dimension correct based on wall centres.

Wishing now I had stuck to drawing in single line mode and used F2... http://forum.designcad.com/Smileys/default/angry.gif

prl

I'm not very experienced with DesignCAD's double-line mode except I avoid it. For me it doesn't work well when you pop back and forth between 2d and 3d drawing modes.

Have you considered vector converting the double-lines?  This will leave you with normal lines and of course you will need to clean up the intersections but at least that is fairly easy and normal stuff.

MarkX

My experience was that it was better to use single line and then use the parallel tool to go back and make the second set of lines. This was better than fiddling with auto-connects that were following their own mysterious logic, sometimes on and sometimes off.

Mark

Lar

#4
Quote from: skyline on November 09, 2012, 07:43:42 AM
... Now I realise that Autotrim only works if this was selected when all the lines needing trimming were drawn.
Generally, any property of all entities can be changed via the info box. If more than one entity is selected a line of buttons will appear near the top of the info box (below the set of buttons where the color square is). Each button is for a different type of entity and only the applicable buttons will be active.

For an individual double line you can turn on or off the 'autotrim' property about 3/4 way down in the iffo box. For multiple dlines you can change their properties at the last button of the set that appears near the top. Since you are using more than one alighment make sure to not click any of them in the dialog that appears (or they will all be changed to that alignment), just click 'autotrim' and click ok (with some earlier versions pressing the enter key when done caused none of you changes to take affect, you had to click the ok button).

Quote from: MarkX on November 09, 2012, 10:28:46 AM
... following their own mysterious logic, sometimes on and sometimes off.
Autotrim is somewhat lazy and the trims tend to reappear so you have to periodically click the 'regenerate double entities' button located at the left side of the drawing window, 3rd button down, when the scroll bars are visible (if not visible right-click on a tool box or click in a blank part of the status bar and select 'scroll bar' in the popup list. If the scrollbars are on but the buttons are not visible drag one side of the window then press esc to cancel the drag - the buttons will appear). You should also click this button just before vector converting (or exploding)  - and probable just before printing, but I'm not sure.

A tip about double lines and autotrim when drawing walls is to not start a line at one of the sides of another dline, but inside it somewhat. For this reason it makes  sense to use the center alignment, then you will be able to gravity snap at an existing line to draw another.

If you should ever have to vector convert autotrimmed dlines (eg, if going to extrude to 3d, note: you can only work dlines in 2d mode) it is best to turn off the 'cap' for all walls that intersect other walls at both ends. When you vector convert these lines with any end capped all the caps appear, even for ends that were not capped. You would have to drag-select at all wall intersections to select the unwanted caps and delete them (which is amazingly very easy to do). If preparing for 3d extrusion remember to select all the vectorized dlines, 'combine' them and 'make plane'.

Lar

skyline

Thanks for the replies,maybe just for once it's not just my incompetence thats the problem. Got the tip about changing the autotrim for multiple Dlines Lar, thanks that does help a bit for stuff I've already done.

I did centre align all my lines as this is the only sensible way to dimension everything properly. The problem is that if you use centre align you cannot autotrim as you get a notch at every corner.

Something else you mention is the scroll bar. I have often wondered why the scroll bar disappears for no apparent reason. I usually get it back by turning scroll bar off then on again. Why does it do this?

Like you Mark in the future I'm sticking to single and parallel lines. In the long run I havent saved any time.

Cheers

prl

Quote from: Lar on November 09, 2012, 11:23:45 AM
If preparing for 3d extrusion remember to select all the vectorized dlines, 'combine' them and 'make plane'.

For what it is worth, DesignCAD does have a built-in command for converting double lines to planes.  It is in the edit menu (selection edit) subnested a few times.  A while back I played around with double-lines for this very purpose.  In the end, I simply went back to normal lines, combine, make plane, extrude etc. 

Lar

Prl, thanks for the reminder but when using dlines to do walls (in plan) you usually have a number of dlines intersecting. This is why autotrim is necessary, so they blend together and look like a single multi-segment line. If you then use the 'dline to plane' command each individual dline becomes an individual plane and they end up looking like autotrim was turned off. ...and that is what I love about this forum: Prl's idea is absolute genius, for real. By converting to planes you can them 'weld' (in the same edit menu>sel. edit>convert menu, my shortcut is shift+w). Welding gets rid of all the internal lines, including the caps. Welding also can sometimes throw in a few extra points but it seems like once the sides of planes don't touch we won't get those extra points... another reason for using center align for the dlines, since if you snap center lines together the dlines would protrude into each other. Funny thing is 'dline to plane' (new to 22, I think) has no 'save as line' option but it actually turns dlines into line entities and not plane entities (since you can't work with dlines in 3d, I guess). So, after welding you would still have to 'make plane', which you could do in 2d and they become actual planes. Note that there is a 'dline to vector' command (also new to 22?) but this gets rid of the 'width of the dlines.

Lar

prl

Lar,

DesignCAD is always a fascinating playground. In my quest to highly automate the creating of 3d buildings, I've experimented with numerous ways to quickly trace 2d plans.  Double line, boolean planes, using hatchfill to fill wall areas and then converting the hatch to a plane, etc. Also have tried using hatchfill to fill a room and using the points to create a subtracting solid (basically your whole building is one big solid and you subtract out the rooms, doors, windows).   Lots of fun.  Still messing around looking for the most fun way.


Lar

#9
The trick is to not draw the walls but draw the spaces as planes, then draw the exterior wall (footprint) around them. Select all, extrude in Y, deselect the exterior, optional to extend the insides beyond the exterior with the ctrl+resizing handles trick (manually... for macro just scale in Y), solid define all the interiors together and solid subtract from the exterior. You could macro record it then add some variables (something I never bothered to do myself). You would then have to solid subtract the door and window holes.

For gable walls extude higher than the peak height and solid subtract or slice away the unneeded parts. In this case do the insides separately as walls rather than spaces using my dline method above. I would also do the interiors separate if going to export.

I use these methods for simplified 3d. For 3d construction drawings it is more involved but still not too complicated, since in the Bahamas the exterior is usually concrete block with reinforced concrete columns and beams and the interior is dry wall. Somewhat expensive but we do live in the hurricane belt. Cheaper in the long run. The buildings that usually get damaged in hurricanes here are the ones that took shortcuts during construction.

Lar

prl

Quote from: Lar on November 09, 2012, 04:56:21 PM
The trick is to not draw the walls but draw the spaces as planes, then draw the exterior wall (footprint) around them.

Lar, you and I think alike. I have various ways to do this.  Here is an interesting way that is similar and for me fun.  This assumes you have a 2d floor plan for tracing in the xz plane.


1. Follow your approach of drawing a line around the exterior bldg walls (footprint).

2. Take that line, make plane, extrude it up. etc.  You now have a solid sitting on your 2d plan. 

3.  Now switch to 2d mode looking down on your floor plan.  Do this with a temporary plane or switch the 2d mode work plane setting.

4. Here's the fun part.  Use section trim snapping from various room corners to hollow out the solid.  Complicated rooms you will need to take several bites from opposite corners.

(Note the section trim in 2d mode shoots a hole all the way through your solid and anything behind it so make sure the solid and the floor plan are the only thing turned on).

5. Nibble, nibble till done.  Since my section trim command is hotkeyed, this goes very fast.  Like hollowing out a pumpkin.