News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Copy and paste

Started by Leonard, April 16, 2012, 08:10:54 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Pearco

It does not have to be a 3D or imported drawing to go off on a Z axis bender. I have re loaded old 2D drawings that I did maybe 2 versions ago and found Z axis problems. It is completely random so I have the Z flatten macro on a tool bar for easy use and it always seams to cure the problem. I suspect it is a gremlin that trips the drawing as it is loading and the Zs get spread all over the place.
Jim
User since ProDesign 1.5

Dr PR

Looks like a bug.

Maybe the "flatten Z" function should be built into DesignCAD. However, it shouldn't be an automatic function. Accidentally opening a 3D drawing in 2D shouldn't flatten everything!

One way would be for DesignCAD to mark any drawing that was edited in 3D as a "3D" drawing. LIkewise, any drawing that was "flattened" with the "flatten Z" function could be marked "2D." Then, in the future, if one of these marked drawings was opened  DesignCAD would know whether or not to make all Z values = 0.

Unmarked drawings would be treated as 3D drawings when opened until marked 2D or 3D as described above.

Better still, the problem that is introducing Z offsets in 2D drawings should be found and fixed.

****

How many people have seen this problem?

I have seen it with imported drawings from my customers, but I don't know if the Z offsets were introduced in their programs or when I imported into DesignCAD. I don't do a lot of 2D work so there hasn't been much opportunity for me to generate the problem in my drawings.

Phil
DesignCAD user since 1987

Rob S


I must say in all my years of working with Designcad, including lots of copy and paste, I have never experienced erroneous Z-values appearing except in the case of imported files.
User since forever

JJG

Dr PR, and others,

"Flatten Z" (or other axis like X and Y) capability already exists in DC (without using the macro) : when you are in 2D-mode, click on the "3D" icon to be in 3D-mode ; then close all the windows except this one of XY view (generaly "front" view) , or in the main windows, choose "front view" in the visualisation-box ; then save as copy or just "save as" (with the same name) with checking "Save 2D Projection" , and Voila !

The only advantage of the macro is that it makes it faster, as long as the drawing is not too big, or it can be done on "selected only".

But otherwise it's the same !

Bob P

Quote from: JJG on April 23, 2012, 11:09:41 AM
Dr PR, and others,

"Flatten Z" (or other axis like X and Y) capability already exists in DC (without using the macro) : when you are in 2D-mode, click on the "3D" icon to be in 3D-mode ; then close all the windows except this one of XY view (generaly "front" view) , or in the main windows, choose "front view" in the visualisation-box ; then save as copy or just "save as" (with the same name) with checking "Save 2D Projection" , and Voila !

The only advantage of the macro is that it makes it faster, as long as the drawing is not too big, or it can be done on "selected only".

But otherwise it's the same !

Not quite.  Circles are transformed into curves.

Lar

#20
Quote from: Bob P on April 23, 2012, 11:18:18 AM
Quote from: JJG on April 23, 2012, 11:09:41 AM
Dr PR, and others,

"Flatten Z" (or other axis like X and Y) capability already exists in DC (without using the macro) : when you are in 2D-mode, click on the "3D" icon to be in 3D-mode ; then close all the windows except this one of XY view (generaly "front" view) , or in the main windows, choose "front view" in the visualisation-box ; then save as copy or just "save as" (with the same name) with checking "Save 2D Projection" , and Voila !

The only advantage of the macro is that it makes it faster, as long as the drawing is not too big, or it can be done on "selected only".

But otherwise it's the same !

Not quite.  Circles are transformed into curves.

'Save as 2d' generates vectors only, so circles, curves, grids, planes, arrows, dimensions, text, become vector representations . DImensions are lost (not dynamic, lose their arrow heads [like arrows] and text become vectors), hatches gone, center points of circles are lost.

Save as 2d creates a new file while flatten works within the same file. Flatten can work in a 3d file without worrying about view angles.

The differences are enormous.

Lar

cavelamb

Quote from: Dempsey on April 22, 2012, 07:30:43 PM
Leonard,

It is easy to check if a 2D drawing has a Z component that is not zero:

Select All (Ctrl-A), start info box (Ctrl-I) and then look at the Bounding Box. Your original drawing has Z depth of 0.50145.



Then scale the Z axis by .00001. 

All is flat again.

Dr PR

cavelamb,

Careful! Just selecting everything and scaling it in the Z axis will make the Z offset smaller, but it will still be non-zero. It may display as zero if you have set the precision to just a few decimal places, but if you set it to 15 decimal places you will see a non-zero number.

If the Z value is non-zero the intersect functions may not work.

Phil
DesignCAD user since 1987

Lar

Here we have the discussion of whether to use flatten-z that works 100% or derive for some other solution that if it works will do what flatten-z now does. Freedom of speech in all its glory.

Lar

MarkX

Quote from: Lar on April 24, 2012, 06:26:22 AM
Here we have the discussion of whether to use flatten-z that works 100% or derive for some other solution that if it works will do what flatten-z now does. Freedom of speech in all its glory.

Lar
Hi Lar,

There is naturally an aversion to 3rd party solutions for problems that shouldn't exist at all.

Mark

Lar

a problem: shouldn't exist.... does exist.... hmmm...
a solution: exists... debated...

freedom of dcad to make such a conversation possible

Lar
a thread: hijacked?? ...  hmmmmmmm

Rob S

The program exceeds many others in that it provides tools for us to add features and correct issues that no one even anticipated should happen.

First party, second party, third party, who cares!

The program originated in the US, and the current programmers are in Russia, i believe, so maybe all the new features are attributable to a "third party", so maybe shouldn't use those!!!
User since forever

MarkX

Quote from: Rob S on April 25, 2012, 07:34:27 AM
The program exceeds many others in that it provides tools for us to add features and correct issues that no one even anticipated should happen.

First party, second party, third party, who cares!

The program originated in the US, and the current programmers are in Russia, i believe, so maybe all the new features are attributable to a "third party", so maybe shouldn't use those!!!
Third party isn't a reference to nationality. Why would you imply that it does?

A third party solution is a solution provided by someone other than the original manufacturer and/or not offered by the original manufacturer as a solution.

Third party solutions to actual problems (not enhancements) are undesirable because they frequently do not track with version updates. They make it harder to recommend the software ("This is great software, but first you'll need ..."). They mask over the problem so that it doesn't get fixed. They may be masking a problem with larger consequences.

If your car needs a pint of elixir not recommended to the manufacturer added to the gas to run correctly ... there's something wrong with your car. If your software needs a third party solution in order to run correctly ... there's something wrong with your software. I may freely buy enhancements for my car (dangling dice, perhaps), but I worry about non-original products required for proper operation.


Mark


Dr PR

Mark has a good point - the Flatten Z macro shouldn't be needed. The best solution would be to fix the bug (if we can find out what is causing it).

But, unfortunately, occasionally it is needed.

Lar has a good point - Flatten Z works now. It is the best solution until the program is fixed.

Phil
DesignCAD user since 1987

Rob S

QuoteA third party solution is a solution provided by someone other than the original manufacturer

That is exactly what I meant, the current programmers are third-parties to the manufacturer of the program, as are the writers of the macros.

The fact they are Russian is merely mentioned to indicate they don't work in the IMSI offices.

In fact, I think they are doing great work for us, of course nothing is ever perfect, otherwise what would be left for us to beef about.  ;D
User since forever