Export mesh as flat net for paper modelling #22417
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#22417
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.51
Category: Mesh
Python: 3.1
Homepage: http://blenderartists.org/forum/showthread.php?p=1627111
Script name: Unfolder (temporary name)
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Import-Export/Paper Model
Author(s): Addam Dominec
Status: Closed
%%%Features:
The script decides where to cut a given mesh and then creates a net of it, much like Celeriac's Unfold script. The net (or multiple nets) is saved as svg documents ready for printing.
My effort is to make the process as automatic as possible so that the script will need least possible user interaction.
Setup:
Install the add-on and enable it
Manual:
In the 3D View Toolbox, the script has its own settings panel. Firstly, there is a button Unfold, which marks seams for cutting the mesh. Secondly, the button Export Net will create the net and save it to a selected location.
The script applies scale to the model before calculating net. But it uses real dimensions: objects must be about 0.05 blender units (meters) to fit into the default page dimensions.
Documentation is not available - yet.
The name is only temporary, it will be rather something like Export Paper Model.%%%
Changed status to: 'Open'
%%%I decided that this script should belong to the Export category and I moved it.
Besides that I wrote several rather small improvements / bugfixes to the script, now it is version 0.6.
I wrote a wiki page about it:
http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/File_I-O/Paper_Model%%%
%%%Hi, is this script up to date?
I tried it now and apart from geometry module that now is mathutils.geometry, it shows problems with properties attached to Scene
I'd like to propose to move this addon in svn (contrib) but would like to see it fixed.
If this worked well I'd be also for release but not sure we have time, next release is within a couple of days :/
Sorry that no one had time to review sooner, if you have time, let me know how it goes :)%%%
%%%If I know how to use this tracker, there should be a new attachment. Otherwise, you can get the script from Google Code:
http://pure-evil.googlecode.com/files/export_paper_model.py
I'd love to have this in an official release, just maybe it's too dirty yet. There are several unfinished features and one important bug. I should put a warning mark next to this add-on at least :)%%%
%%%ok the export works but on suzanne produce a lot of small pieces, and spanned across 4 pages
I need more time to test this for sure
if you want to attach a file click on attachments, you should see the upload buttons
I doubt this will go in release in such a short time but anyway if you have time please drop in #blenderpython to discuss lice a bit, thanks!
%%%
%%%hi,
are there any updates on this script?
I have seen good results on the forums.
Are you still working on this?
Please let us know :)
%%%
%%%Hi,
Just a Reminder for people to Join the Mail List.
If you have not already, please visit this page:
http://lists.blender.org/mailman/listinfo/bf-extensions-cvs
& join the list.%%%
%%%hi Addam,
I've noticed you update your addon on github
https://github.com/addam/Export-Paper-Model-from-Blender/
Also looking at your thread on blender artists you seem to have everything covered nicely.
I'm closing this page for now.
If you decide to update & resubmit the addon you can comment here & we can reopen the page for you.
Brendon.%%%
Changed status from 'Open' to: 'Archived'
%%%I tried v0.7 with a recent SVN built (>2.63 official) but i can't activate it in user preferences!
Changed required Blender version in bl_info but no luck...%%%
%%%There is a version of the script that is compatible with blender 2.63, but I'm having problems uploading attachments here to the tracker. So if I don't find out, you can always download the newest version from github: https://github.com/addam/Export-Paper-Model-from-Blender
I call the script version 0.8 already.%%%
%%%Hi, the UI of the Toolshelf panel of this script signalizes an error in the System console for Blender 2.66
The reason:
changed argument list of the UIList.template_list() function (line 1323)
Solution:
Add two additional strings as the required arguments:
before it was:
box.template_list(sce, 'island_list', sce, 'island_list_index', rows=1, maxrows=5)
this code works properly:
box.template_list('UI_UL_list', 'paper_uv_islands', sce, 'island_list', sce, 'island_list_index', rows=1, maxrows=5)
(the first string is required, teh second has to be just any unique ID (string)).
%%%
Added subscriber: @CarlosMunoz
When I set my units preferences for 3D printers (in: Metric Degrees Scale: 0.001) the svg result is not working properly. The file generated is empty.
But when I set my units preference in metres/degrees/scale=1 or without scale is working properly.
work_without_scale.svg
work_with_scale1.svg
empty.svg
Carlos, this tracker item is already abandoned. The script itself has been included in Blender Contrib repository, and can also be downloaded directly: F210208
I believe that the scale settings are working correctly now, and if not, I'd take care to fix it.