OpenJSCAD Bridge #47761

Closed
opened 2016-03-11 15:34:05 +01:00 by falldeaf · 7 comments

My addon file: add_openjscad_mesh.py

Hello Blender Folks,

I've written an addon that adds a tool panel that allows for picking .jscad files and adding meshes directly to your scene. The biggest benefit however is that if the OpenJSCAD file has any variable options included in it, those will be available in the blender menu to tweak and change, before creating the mesh in your scene.

If you're not familiar with OpenJSCAD (http://openjscad.org/), it's a parametric 3d design language in javascript that allows you to design 3d objects in code through a local or remote web interface (Or with a commandline tool, which this Addon uses) and output .stl files (as well as a few other formats.) I think what might make this very useful for the Blender community is that it could sort of be like a way to have a huge range of "primitives" available with highly customizable traits. For instance, I love using Blender for creating .stl's to print on my 3d printer but I often have a need to create negative space in my models for nuts and screws. This .jscad file: negative-screws-whole.jscad will let me put in a few measurements and then I can put the result directly into my scene, ready for a boolean operation!

I've read pretty carefully through the Addon creation and submission process and to the best of my understanding, I'm hoping this is an appropriate submission. I've also put my code through the http://pep8online.com/ and right now the only issues that come up are some lines over 79 character lines and it's warning about the comments I have near my includes. Additionally, I hope it's not an issue that my plugin will require nodeJS and the openJSCAD .zip to be downloaded. The setup is pretty easy, however.

Thank you for your time and consideration! I'd be happy to answer any questions or address any issues.

My addon file: [add_openjscad_mesh.py](https://archive.blender.org/developer/F289484/add_openjscad_mesh.py) Hello Blender Folks, I've written an addon that adds a tool panel that allows for picking .jscad files and adding meshes directly to your scene. The biggest benefit however is that if the OpenJSCAD file has any variable options included in it, those will be available in the blender menu to tweak and change, before creating the mesh in your scene. If you're not familiar with OpenJSCAD (http://openjscad.org/), it's a parametric 3d design language in javascript that allows you to design 3d objects in code through a local or remote web interface (Or with a commandline tool, which this Addon uses) and output .stl files (as well as a few other formats.) I think what might make this very useful for the Blender community is that it could sort of be like a way to have a huge range of "primitives" available with highly customizable traits. For instance, I love using Blender for creating .stl's to print on my 3d printer but I often have a need to create negative space in my models for nuts and screws. This .jscad file: [negative-screws-whole.jscad](https://archive.blender.org/developer/F289485/negative-screws-whole.jscad) will let me put in a few measurements and then I can put the result directly into my scene, ready for a boolean operation! I've read pretty carefully through the Addon creation and submission process and to the best of my understanding, I'm hoping this is an appropriate submission. I've also put my code through the http://pep8online.com/ and right now the only issues that come up are some lines over 79 character lines and it's warning about the comments I have near my includes. Additionally, I hope it's not an issue that my plugin will require nodeJS and the openJSCAD .zip to be downloaded. The setup is pretty easy, however. Thank you for your time and consideration! I'd be happy to answer any questions or address any issues. - falldeaf 772-237-1775 falldeaf@gmail.com
Author

Changed status to: 'Open'

Changed status to: 'Open'
falldeaf self-assigned this 2016-03-11 15:34:05 +01:00
Author

Added subscriber: @falldeaf

Added subscriber: @falldeaf

Added subscriber: @Sergey

Added subscriber: @Sergey

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

hi, @falldeaf thanks for submission, i think this addon has too specific use case for Blender, Also the dependency is not good for addons we distribute.
It's a great idea & I'm sure it will have an external user base.
Closing as Archived

hi, @falldeaf thanks for submission, i think this addon has too specific use case for Blender, Also the dependency is not good for addons we distribute. It's a great idea & I'm sure it will have an external user base. Closing as Archived
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#47761
No description provided.