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.

real life gable ladder example to get me started

Started by bobl, January 19, 2014, 12:04:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
bob,
The best place to read up on qs2.d3m is reply #9 here (it's worth a look, as it includes a house in 3D that might interest you):-
http://forum.designcad.com/index.php?topic=4529.msg27991#msg27991

prl wrote a simple macro - well simple when you he knows how.   "d3m" = dcad macro, don't ask me what the 3 means.

It's other title is "shaded with a wire frame".  This doesn't come standard in DCAD, although Solidworks and other programs show that sort of thing all the time. 

I enclose the macro - .  copy it into your macros directory.

To run it, just ensure that graphics accelerator is on in the third of the shading options (i.e. not wireframe or hidden line removal) - and then hit spacebar, type qs2, enter.   Then you can take a screensnip (with snipping tool) or Ctrl-print-screen or whatever.

The shading only lasts until you move the cursor.  (that's because it uses a temporary "select all" instruction in the macro).
cheers
TV? - well Aus is out of the World Cup, so...  :)

Ahh - save you going there, I'll post that house of prl's:-

samdavo

#16
Hey prl, I assume you had to draw hatches on all those cross-sections individually (?)
edit - Other than where you could use an array to copy them in a line (better mention that , given the thread title / objective :)  )

What we need is a macro that slices and automatically cross-hatches.

As a compromise, I imagine it would be easy to "slice" and achieve a dark grey slicing plane,  by subtracting a large grey box from the object of interest. 

prl

Quote from: samdavo on June 19, 2014, 01:20:18 PM
What we need is a macro that slices and automatically cross-hatches.

Well I have one that does that and that is what you are seeing besides the SketchUP look.  Experimental though.  In DesignCAD, when you section trim something, the new planes end up on the current active layer.  I tricked DesignCAD into dumping these new sliced edges on a special layer, then I cycled the database for those NEW planes, read the points, and had the hatch command follow the point order.

samdavo

#18
It must be painful being perfect, and "a brain the size of the universe"  (Hitch-hiker's Guide).
Well done :)

I was thinking you could identify all planes of a certain colour, or maybe a certain Y elevation, and hatch em.
As usual, my idea of hatching a plan (or plane) falls a long way short of yours. 

PS and whilst many of us think that DCAD has tricked THEM, you are busy tricking DCAD !  How cool is that I ask you?

prl

Quote from: samdavo on June 19, 2014, 01:49:42 PM
I was thinking you could identify all planes of a certain colour

You're starting to think like Lar (great minds at play).  Using colors as a flag is a trick/technique that I have experimented with too.

By the way, my mind and my basiccad folder is a junkyard of unfinished projects.

samdavo

#20
so I have my mind to thank for filling up this jumbled head
messy mish mash memory bank of clever things I never said
so I spend much time reviewing things I would have LIKED to say
when lost chances keep accruing, reparte comes out to play.  :)
cheers m8

PS the colour of all those sliced layers could be determined by the colour of the large ( eg grey) box I mentioned.  But I suspect that would involve exploding, and possibly/ probably counterproductive.
Your method sounds much better.

samdavo

#21
off-thread,  but here's what happens when you superimpose the curved railway track and the straight one,

solid add the short lengths of rail,
solid subtract the straight one from the curved one (after making a back-up copy of the straight one)
bring back the back-up copy etc. (2 cents)

lol - now that I look at it closely, I'm confident a train would have some difficulty with that switchrail/turnout whatever - unless the red rail had a bit taken out as well - so the solid subtracts are not complete..