Surface export for 2D dimensioning

Next
 From:  Andy Peterson (ANDYPETE)
7373.1 
Hi,
I’m trying to export surfaces relative to their local axis so the client can do their own dimensioning.

PDF export seems to only export relative to a projection view, so the linear 3D distances varies for anything that is off-axis.

IGES export for photoshop/3D pdf works correctly, but requires a 3D context.

Ideally, I’d like to export surface panels to 2D pdfs or illustrator files and maintain true linear dimensions.

I tried to use the CPlane thinking that it would reorient the coordinate system to selected geometry, but the exported geometry dimensions were scaled down.

Has anyone developed a process that might help me?

Thanks.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andy Peterson (ANDYPETE)
7373.2 In reply to 7373.1 
Perhaps a script that would rotate a selected surface to align with the world axis might work?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  3dcnc
7373.3 
draw a flat plane then use the orient tool to orient the your surface to the flat plane. This will mean the surface is the right way up for dimensioning. delete the fat surface at the end.
Image Attachments:
Size: 403.4 KB, Downloaded: 7 times, Dimensions: 1082x666px
Size: 278.5 KB, Downloaded: 9 times, Dimensions: 820x439px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andy Peterson (ANDYPETE)
7373.4 In reply to 7373.3 
Thanks. That works. Ok for 1 or 2, but I guess I'll be diving into the scripting to implement a 'rotate to ground' similar to tools I use in other other packages.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7373.5 In reply to 7373.1 
Hi Andy, you might try using DXF export instead of PDF for this, it may be a bit easier since the DXF data will be 2D entities but won't be constrained to have the active viewed area limited to a printed page boundary like is implied with PDF files.

> I tried to use the CPlane thinking that it would reorient the coordinate system to
> selected geometry, but the exported geometry dimensions were scaled down.

The scaling can be turned off if you use the "Scale : Preserve units" option rather than "Scale : Fit to page":



With the default "Scale : fit to page " option, the generated output will be scaled and positioned so that it is centered on and fills up the PDF printed page extents. You can use "Scale : Preserve units" to avoid that from happening and instead control the mapping for conversion of units in MoI to units on the printed page. You will run into one other problem with doing that though which is that positioning is also turned off and your 2D output will have the world 0,0,0 point in MoI mapping to the 2D page lower left origin, that can mean that your objects although at the desired scale are located some long distance away from the visible page boundaries. In the future I want to add some options to control where the page origin will be taken from to make this easier.

In the meantime you may instead want to use DXF format which will do the same thing but whatever reads in the DXF will probably be able to zoom to fit the data inside of it and won't be so focused on only viewing just the printed page area as you will tend to get with PDF.

You could also do a post processing step on the PDF output to move it to a better origin point - to do that use File > Open to open the PDF file in MoI, MoI will zoom to fit so you'll see the output in the Top view. Now select all, run Transform > Move, click the base point at the lower left in the top view so it is just below your curves, then type in 0 and push Enter to move it to the 0,0,0 origin spot and then re-export it.

Another reason why you may prefer DXF format is that DXF can contain entities like exact circles, unlike PDF where there are only Bezier curves for everything.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  3dcnc
7373.6 In reply to 7373.4 
rotate to ground would be a good script if possible.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7373.7 In reply to 7373.6 
> rotate to ground would be a good script if possible.

Unfortunately it's probably difficult to script since general surface evaluation (for obtaining a base point and normal direction on the surface) is not set up for script access currently.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Andy Peterson (ANDYPETE)
7373.8 
Thanks Michael and 3dcnc. DXF it is. The client prepares drawings for machining in Illustrator using CAD tools. We ran some tests and I think this will work just fine.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All