Hi,
here’s another CAD-like tool i wanted to make for the pipeline. I basically needed a way to draw a polyline while snapping to an architectural blueprint.
From there the tool can extrude the shape, making a slab or a wall. Escaping the tool during extrusion sends the shape back to 2D, making the floors and other surfaces possible. The script is best suited for fast cubic shape creation.
You can also use it without the blueprint and apply the numerical input.
It is a derivative of the point distance script and it shares some procedures with it. If someone finds it useful and tries it out, please report bugs - the script is still in development.
Current version: 001
Example of floor creation
Example of wall creation
Example of simple furniture creation
Example of arbitrary object creation
INSTALLATION:
Unzip and copy .py to addons_contrib folder in your Blender folder. Start Blender, go to User Preferences/Addons. Turn on Testing filter and type poly into the search box. Check the box next to the addon name. If you have a previous version uncheck it and then check the new one.
USAGE:
START - space search menu / type poly / enter or hit the shortcut key if you assigned it
LMB / CTRL+LMB - selection of points with snap
RMB - close the poly and start extrusion / finish the command
SPACE - entering / exiting the navigation mode during the command
ESC - exiting the command, reverting to current state
WARNINGS:
Unfortunately, in linux 2.77 and 2.78 testbuild it has a strange behaviour as viewport fps falls dramatically after the command. Pressing 2xTAB solves the issue. I am not sure what causses the problem. No problems in 2.75 and 2.76.
EDIT: Just tested the addon in 2.78 RC1, the issue seems to be resolved!
ADDON SETTINGS:
Unit scale: Distance multiplier for various unit scenarios
Suffix: Unit abbreviation after the numerical distance
Custom colors: Default or custom colors for graphical elements
Mouse badge: Option to display a small cursor label
Point markers: Option to display graphical markers for the start and segment points
Bevel: Option to automatically start a bevel operation after the extrusion
Base material: Option to add a basic material to the poly object
Smooth shading: Option to turn on smooth shading for the poly object
Wire contour: Option to turn on wireframe over the solid
SHORTCUT ASSIGNMENT:
Detailed instructions are inside the py.file, as with other NP add-ons.
Please report eventual bugs, the 001 version is a prototype.
It is made in 2.75a. Thanks for all the feedback and suggestions.
Attachments
NP_float_poly_001.py.zip (13.1 KB)