News:

New TurboCAD Mac 2D/3D Training Essentials

Main Menu

DWG export and grouped objects

Started by CiBi69, December 16, 2010, 05:45:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CiBi69

Hello everyone, I need to export some drawings to dwg format.

I'm having a problem with grouped objects, which in the resulting file are misplaced way out out of position; if I ungroup the objects, the resulting file is ok ?

Any suggestion ? walking through every grouped object in the drawing is a waste of time and you have to triple check every export..

Thank everyone in advance

Regards

Claudio

JBorlaug

#1
Hi Claudia! welcome to the forum!
I'm not sure sure if it's a 'bug' or a default, but generally,there are some hassles with this subject.
1) newly opened files are in stitch line type.
2) the active 'pen' (TC Explorer) will be set at layer 1
3) check (>edit> select all) that there is a line type, color layer etc active to engage
here's a 'similar but different"  vid here
--
http://tcmacforum.imsisupport.com/index.php?topic=892.0
afew posts below this location,( importing Solid works)
Is everything working within within TCP Mac?> Your work being done?
Can you give us a sample? less than 4 M's

CiBi69

Hi,

I attached a simple drawing, in the dwg you can see the 4 holes, which are 4 grouped objects, moved away and also enlarged, I tried setting the scale factor to 1:1, but it didn't work.

Regards

Claudio

JBorlaug

 Claudia!
It seems like a scaling problem is going on , and some other items per the video. i will do some experimenting in the mean time. here's a tiny vid

JBorlaug

try these;
notice the file type and layer reworks
johnny

CiBi69

Quote from: JBorlaug on December 16, 2010, 01:57:55 PM
Claudia!
It seems like a scaling problem is going on , and some other items per the video. i will do some experimenting in the mean time. here's a tiny vid

Hi Johnny, I watched the video, unfortunately the audio went away at 00:28, now I'm trying to figure out the solution with video only, will check out your mouse movements carefully  :)

Thank you

regards

Claudio

JBorlaug

#6
I'm Sorry- I did have a screenium crash, and only verified the sound for 15 seconds worth. I can rerun it. send me a PM if you need a larger file size vid.
At the 4 minute mark, I am explaining that the scaling glitch was at 16,000 .xx inches@ the 'northeast" Slot location, and I rescaled using the origin as the anchorpoint, and rescaled, at an angle the 'southwest'? centerpoint to a midline point on the plate. this resulted in a 650 inch location. When I had opened the TC3, which defaulted to Deluxe program, I got an incompatable error, however, it opened OK with Pro, build # 943.
( about TC Mac) gives this info.
the other infos is within (Window>TC Explorer) which defaulted to the dimension layer as the active- (located by the pencil/pen icon), I changed layers on one drawing, and also the DXF. the remaining infos are that (JPG) the edit info box shows no information for resolution and type of line, which I reset to activate them (any type)
-----Edit---
@ 5 minutes, I am explaining that In Preferences>General> Nudge distance>) whether that is "turned on- with a distance-- or "off" ( 00.00 as a distance) may contribute to the hassles, as the dimension layer was the working layer, which probably blew the perspectives to smitherines! ;D

JBorlaug

Sorry for misspelling your name Claudio!
I now have 17 M's of film- must use email. here is a second 'reworked' export in Drwg to test

CiBi69

Hi Johnny,

don't worry for the name , not a problem at all.

So, I've watched the video, made some tests and this is what I found,

- I realized you worried for the default layer, which was defaulted to Dimensions on the sample I gave you, that's probably my bad, as I moved the pen there to get rid of stuff to size down the sample.
I usually draw in the 'Disegno' layer (which stands for drawing in italian), and that's usually my default layer when opening the tc3 file.
As a side note, I found another problem with turbocad here, which is not important, just annoying: if I get rid of the layer1 layer, cause I don't use it, next time I open the tc3 file the layer1 layer is back in place; I guess it is some kind of default behaviour in turbocad, but I couldn't find any flag in the preference panels to avoid it, so I just leave the layer there, as I said before, just an annoyance.

- Since you mentioned it in an earlier post, I'm using a Deluxe version build #943

- I made some more tests, either starting from my original drawing or the sample I sent or the sample you gave me back, and I've found that the grouping exposes a bug in the exporting to dwg:

First of all, my unit default is mm
I drew a line with a length of 400mm, I grouped it and exported to dwg, in the resulting drawing the line has a length of 10160mm and was moved 'northeast' as you said.

Now, if you divide 10160 by 400 you get 25,4, which is just not that random, since 1inch = 25,4 mm, so at this point it is my opinion that the dwg export module in Turbocad has a bug when dealing with grouped objects, so that it wrongly multiplies the points coords in mm by 25,4 only in the grouped objects, ie the grouped objects are scaled by 25,4 respect to the origin.
And this bug is recursive, if a group is annidated in another group, its coords will be multiplied by 25,4*25,4.


To check if this was something units related, I changed the units to inches in the units preference panel, leaving anything else untouched, I re exported the file, the resulting file is perfect, no misplaced objects, even if grouped.

So, since this is definitely a bug, and easily replicable, is there a place on this forum or elsewhere to report the bug ?

For the moment I found a fast trick that works as a temporary solution to the problem, I select all the objects and click the menu Layout -> Group -> Ungroup just before exporting, and the resulting drawing is correct.


Johnny, thank you a lot for all the time you spent helping me, it has been really appreciated.

regards

Claudio




JBorlaug

I will contact michael Onizuka/ Turbo Tech via skype Monday, and it will be addressed.
Your Welcome Claudio!