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.

Blocks and Handles - How are you getting them to work?

Started by prl, December 12, 2012, 02:12:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prl

Quote from: minstrel on December 12, 2012, 10:34:30 AM
All right...I see the mess of your file imported into SketchUP.  Don't give up...I've a solution [partial?]
When the drawing is complete explode each of blocks

Minstrel, because of the block problem I actually don't use them so in essence all my stuff is always exploded and always exports and imports into SketchUp really well.   What interested me is when you made your Christmas tree, the "sphere" was a real SketchUp component.  In other words, there was just one of them and everything was an instance.  If you were to edit that sphere in SketchUp, say push pull or add something to it, all the spheres would change.  That's the neat part. That's how blocks are supposed to work, and you did it with DesignCAD!!!!

So using my current method, exporting would have each sphere be its own thing in SketchUP.  This is OK, just when there are so many things that are identical copies, seems a shame not to have them act as one.  So when I saw what you did, I got excited. Real excited!!!!!


You're brilliant, lucky (and you have fast internet)!  ;D

Dr PR

I am following this with interest. Long, long ago and far, far away I tried to use blocks in a 3D drawing. The results were very strange - if I recall correctly solids in blocks didn't retain the materials or colors of the original, or something like that. In addition, they didn't rotate or mirror correctly. After reporting this to DesignCAD tech support via snail mail (this was before email) I got a reply saying "don't use blocks in 3D drawings."

Since then I haven't tried to use them.

My original reason for wanting to use blocks was to reduce file size. This was back in the days of ATs with256 Mbyte max RAM and 20 Mbyte hard drives. Today file size isn't such a problem with multi-Gagabyte RAM and multi Terrabyte hard drives.

File size is a problem with DesignCAD however, because it has a very limited address range (one Gigabyte or so) for the working file, backup file, variables, rendering information and shadow maps. Unfortunately, blocks won't help this problem because they are expanded when the file loads, and they each contribute to the shading information and shadow maps.

They still have the desirable feature that changing the original block changes all copies, and the file size stored on the hard drive is smaller.

If anyone figures out how to make blocks work reliably in a 3D drawing please post detailed instructions for creating blocks, setting and using handles, and copying, rotating and mirroring them.

Phil
DesignCAD user since 1987

minstrel

Quote from: prl on December 12, 2012, 10:50:14 AM
That's how blocks are supposed to work, and you did it with DesignCAD!!!!
Yea, it's pretty special, ain't it?  Who would have thought this "Hobbyist" CAD program can export "Components" directly into SketchUP

It's still no luck involved...I mentioned once before I set out to 'mimic' everything I can do in DesignCAD in SketchUP...and vice versa...it's a great approach in learning and exposing the strengths and weaknesses of both of them. 

I'll keep at it and reports back as required.

Oh...I attached a little more light on the subject...[pity the wind blew them out!]

Quote from: Dr PR on December 12, 2012, 11:42:45 AM
If anyone figures out how to make blocks work reliably in a 3D drawing please post detailed instructions for creating blocks, setting and using handles, and copying, rotating and mirroring them.

Reminds me of old Bob Watson, a fellow I worked with for years as a Landscape Contractor.  When I just started working with him would constantly shout at me "Man, work the tool, don't let the tool work you!

Phil,  I sense all the tools are already in place to harness these blocks...they just need to be worked.
I have no trouble placing them or re-arranging them.  Only issue of concern for me would be the dwg export issue as in prl's examples.

Forget the past and give 'em another shot...and remember, you are the boss!

Minstrel


prl

Quote from: minstrel on December 12, 2012, 12:09:04 PM
Oh...I attached a little more light on the subject...[pity the wind blew them out!]

Round blocks and spheres are naturally symmetrical about the Y axis.  One can't really tell if the orientation is wrong.

I'm waiting for the reindeer ornament.

minstrel

#19
Quote from: prl on December 12, 2012, 12:34:53 PM
Quote from: minstrel on December 12, 2012, 12:09:04 PM
Oh...I attached a little more light on the subject...[pity the wind blew them out!]
Round blocks and spheres are naturally symmetrical about the Y axis.  One can't really tell if the orientation is wrong.
I'm waiting for the reindeer ornament.

Each of the boxes are one block/component within SketchUP.
They look ok to me....next?

Minstrel

ps - Adrian's the one chasing those reindeer....

edit - ok...I'll try a reindeer ornament...tomorrow!

prl

Quote from: minstrel on December 12, 2012, 01:05:36 PM
Each of the boxes are one block/component within SketchUP.
They look ok to me....next?

Good, seems like DesignCAD can handle this circular copy array situation.

Just so I know how you did this, where did you put the handle on the rectangular box when you defined it a block?  At a random location on the box (the point of selection) or at the central tree axis?. 

Rob S

Blocks do seem to work for me in 2D as i remember them.

I was able to position copies of my block by inserting from the menu or by copying, and rotating  at whatever angle I like, inserted by the original single handle, or copying using any desired handle.

I was also able to export to dwg and re-import without losing any position or rotation.

I did not try any 3D blocks in this test.
User since forever

prl

After realizing the user can't set 3 handles to define a 3d block , I went back through various DC versions to find out why I didn't know this.  Everywhere it says blocks are similar to symbols .  .  .  but for one sentence buried in the newer manuals.


Show Symbol / Block Handles
Menu: Point / Show Symbol/Block Handles

Makes it easy to see the handle location for any
symbols or blocks that are present in the drawing.
The primary handle of each symbol will be shown
as a small red dot, the secondary handle (if any)
as a green dot, and the third handle as a blue dot.
Note that blocks only have one handle, shown as
a red dot.



So in summary, when you make a block in 3d, you can only define the 1st handle, the insertion point.  DesignCAD will self-generate the other two handles in a XY plane relative to this 1st handle point.  It will appear DesignCAD let's you set the 2nd and 3rd points, but they will not be honored. Therefore you must physically position and rotate the entities so they align correctly relative to this imposed 3 point XY handles scheme using only the 1st point that you control.  Once you do this, the block insert with 3 points will honor these same 3 points.

The better approach for working with 3d blocks, is to physically position the front face of your entities (whatever you consider the front face) in the XY plane, define a single point for the insertion point and then define the block.  Then insert the block with a single point.  It will be positioned at the insertion at the same orientation as when you made (defined) the block.  Once you have an instance in your drawing, do not use the block insert approach to add more of the same, use the normal set handles (3 points) methods to further move/copy/translate/rotate that instance.

minstrel

Quote from: prl on December 13, 2012, 03:09:15 AM
After realizing ....
That's progress!  And will assist many who have, or are still struggling with blocks and their requirements. 
It's really all [well, almost all] in the latest manuals. 

I've posted the results of your 'reindeer ornament' request here: http://forum.designcad.com/index.php?topic=4693.msg29195#msg29195.
This should clear any further doubts. 

Moreover, I worked with the file Adrian supplied, which in itself brought my DCAD to it's knees!
I stuck with it [painfully-screen refresh 2-3mins; sometimes with every mouse move] and you can see the results...well worth the effort?  I think so!

Point is this:  Using Adrians file as is, it would be impossible to 'pull off' what I've demonstrated with "the Tree" without the use of 'blocks'...DCAD would crash in an instant! 

My question to all?  My designs are simple and basic, used mostly for bits and pieces in graphic,web or video projects.  How on earth have you all been doing substantial sized projects without the use of 3D Blocks??

Minstrel


prl

Minstrel,

I'm starting to get to the bottom of all this general 3d block stuff.  I've actually created a nested block in DesignCAD, placed it all over the place as instances and had all this successfully show up in SketchUP as a nested component at the proper locations and rotations for all instances.

Now that is cool (at least for me, . . . . easily excitable)!  Dealing with all the coordinate systems (each block has one, the nested block has another), DesignCAD has one, the export routine etc. is like living in a series of parallel universes.

Key is the wormhole.  ;)

prl

Quote from: minstrel on December 13, 2012, 03:48:32 AM
How on earth have you all been doing substantial sized projects without the use of 3D Blocks??

Memory is plentiful I work with solids.  Blocks don't really save you anything in terms of graphics speed, maybe even slow down the system a bit as it calculates the positions and rotations.  In the past blocks helped keep the file size down so that was a big motivator.

The big plus with blocks has been drawing management "draw it once, use it in many places".  Then the neat part, "edit it once, and all instances are updated".

My new favorite approach unique to DesignCAD is using externally referenced symbols.  In my main drawing, I select a part, type "edit symbol" and that loads the externally referenced symbol as a separate drawing.  Edit the symbol (add/delete etc.) , save it then go back to my main drawing and do an update routine and bingo, everything reflects the new symbol.   This is obviously what blocks do, but I like the separate symbol drawing approach better.

Adrian 2.0

Minstrel,
I probably hadn't expected you to copy my rack (which is 510kb) 69 times in one file - I would've made it a tad simpler.
Maybe you should have stuck it on top & copied the star 69 times?

Adrian

MarkX

Quote from: minstrel on December 13, 2012, 03:48:32 AM
My question to all?  My designs are simple and basic, used mostly for bits and pieces in graphic,web or video projects.  How on earth have you all been doing substantial sized projects without the use of 3D Blocks??
I think the answer is that real-life examples requiring lots of identical components interchangeable with alternative designs are fewer than you might hope. So other skills, like array copying, become more useful. Even the sketchup book uses the fanciful idea of swapping windows for helicopters.

A weakness in blocks in DC until the most recent betas was that they didn't mirror properly. That is, if you mirrored a part it would mess up the relationships inside the part.

The other thing is that blocks have been working, if you're lucky enough to orient the parts correctly. I have a parabolic reflector that I made with 12 identical blocks, changing the key block in a series of iterations until the entire entity lined up correctly. Obviously, you got the blocks to work for the tree.

The main problem expressed was with blocks is in export to DWG -- and not everyone needs to do that.

Mark

MarkX

Quote from: prl on December 13, 2012, 06:03:20 AM
My new favorite approach unique to DesignCAD is using externally referenced symbols.  In my main drawing, I select a part, type "edit symbol" and that loads the externally referenced symbol as a separate drawing.  Edit the symbol (add/delete etc.) , save it then go back to my main drawing and do an update routine and bingo, everything reflects the new symbol.   This is obviously what blocks do, but I like the separate symbol drawing approach better.
Does the symbol file need to be in the same directory as the working file, or can it be in the DC symbol library?

Thanks!
Mark

minstrel

#29
Adrian,

No, that was perfect for testing...and to prove the value of 3D Blocks!

Look at this: I ran two tests of 36 antler racks [ totally relied on trick mirrors - so no animal rights have been voliated]

1st - loaded one rack; made a block out of it - circular array for the remainder - total 36 blocks = file size 504kb.
2nd - loaded one rack; arrayed it - total 36 racks = file size 16.1MB!  I tried to reload it; after 5mins I dumped the process.

Minstrel