Milothicus
Mechanical
- Sep 21, 2003
- 39
SW2005, if it makes a difference....
I'm using API to create some drawings, and this (of course) involves some transformation matrices to convert between the different coordinate systems (component -> assembly -> drawing)
I've got a simple piping assembly made up of 90° elbows and pipe sections that i'm using to experiment...
when i run the "Get Transforms of Assembly Components Example" on it, i get some matrices that look really nice, and then some that involve rotation numbers like
-9.26450756388864E-17 and -6.47031582366316E-31.
obviously these really should be zeroes. is there a setting somewhere that will get it to round these numbers to, say, 12 decimal places, or something so they work properly?
or... any idea why it's coming up with these numbers in the first place?
I'm using API to create some drawings, and this (of course) involves some transformation matrices to convert between the different coordinate systems (component -> assembly -> drawing)
I've got a simple piping assembly made up of 90° elbows and pipe sections that i'm using to experiment...
when i run the "Get Transforms of Assembly Components Example" on it, i get some matrices that look really nice, and then some that involve rotation numbers like
-9.26450756388864E-17 and -6.47031582366316E-31.
obviously these really should be zeroes. is there a setting somewhere that will get it to round these numbers to, say, 12 decimal places, or something so they work properly?
or... any idea why it's coming up with these numbers in the first place?