- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This script started out as a way to get drill patterns from Rhino to Fusion without the trouble of uploading to the cloud. After getting the script working on circles I thought I might as well add lines then polylines and so on. At the moment it will export curves and polycurves but anything that's not a line or arc will be linearized. Any curves that need linearizing will be highlighted and you will be prompted for a tolerance.
To install the plug-in copy the file ExportSVG.rhp from the ZIP to a directory on your computer where you can save Rhino script files. Then drag and drop the file onto Rhino, if you have more than one instance of Rhino running you might want to drop it on all instances. Once installed you get a new command ExportSVG, when run you first select a file then select all the curves you want to export when you hit enter you are prompted to select a canvas rectangle if you are exporting to Fusion just hit enter again. When the script finishes it will open Notepad with the SVG file just close notepad and the files ready to import.
I don't know if the files will be any good if you try to use them in any other programs. If you want to try you need to draw a rectangle starting at 0,0,0 then going X+ and Y- like this.
Then draw all your curves inside the rectangle and select the rectangle when you are prompted for the canvas rectangle. If the script doesn't like the rectangle you pick for the canvas you can pick again or just hit escape.
I've only tested working in mm in Fusion and Rhino, it might work if you work in inches in both but it's not going to work if to work in different units in each program.
Here's an example starting in Rhino.
Imported to Fusion.
And extruded.
Same file opened with Chrome.
Mark.
Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Solved! Go to Solution.