40 Commits

Author SHA1 Message Date
a5587f5223 File headers: use SPDX license identifiers
Some files needed to be changed manually.
2022-02-14 14:47:00 +11:00
1d91e8c12a Cleanup: trailing space & tabs to spaces 2021-12-01 10:43:38 +11:00
6975199131 Fix T82405: Check if active object's data is None
Check if the active object's data is `None` before attempting
to call functions on it. It is `None` if the object is an
empty.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D9456
2020-11-06 11:52:09 +01:00
da2b17e46c Fix T80465: [Add Mesh: Extra Objects] Adding mesh in EditMode removes modifiers 2020-09-06 20:32:00 +03:00
2d8edd6ded Fix T76049: Errors after adding a Gear or Worm (extra objects) 2020-05-03 19:55:52 +03:00
6598f0a25c Cleanup: trailing space 2020-01-29 13:51:36 +11:00
1072d96b7d Addon Mesh Extra Objects: Added Object Helper. Fixed World orientation. 2020-01-14 00:12:10 +02:00
031d22ca32 Addon Mesh Extra Objects: Added Object Helper 2020-01-05 02:57:50 +02:00
58321c6ff8 Fix T71025: add_mesh_gears: bpy.ops.object.mode_set.poll() failed 2019-11-23 15:14:08 +02:00
ff3ed157a3 Addon: Mesh Extra Objects: Added restore materials if you go back to change parameters in Gear, WormGear, WallFactory, Beam, Pipe, Gem, Brilliant 2019-09-20 20:25:53 +03:00
8bb3714e95 Addon: Mesh Extra Objects: Added soft limiters in Gear and WormGear. Added restore materials if you go back to change parameters. 2019-09-20 20:10:42 +03:00
4fc5558f68 Addon: Mesh Extra Objects: Removed limiters in Gear and WormGear 2019-09-20 00:49:59 +03:00
af291e44f8 Addon: Mesh Extra Objects: Gears, Wallfactory, Beam, Pipe: Implemented add object in edit mode 2019-08-15 03:04:01 +03:00
9ce456d94f Addon: Mesh Extra Objects: Gears, Wallfactory, Beam: Converted to parametric objects 2019-08-09 00:26:26 +03:00
3735dcdc00 Addon: Mesh Extra Objects: Gears: Editing an object directly 2019-08-08 02:41:50 +03:00
222969e380 Update for Depsgraph API changes
Reviewers: sergey

Differential Revision: https://developer.blender.org/D4883
2019-05-17 14:18:02 +02:00
a3ff3b982f The implementation of the function of changing the parameters of the object after creation.
Function added to context menu (Change Gear and WormGear).
2019-04-21 18:16:20 +03:00
9dcdedcaa6 Update addon to Blender 2.8 2019-02-01 02:42:15 +02:00
aeabdc02a8 Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
2019-01-17 16:48:54 -05:00
ec5d4c9a37 Fix T58896: Addons with ob.vertex_groups.new without name keywork
Original report: OBJ file import fails for objects with vertex groups defined when polygroups option is selected
2018-12-06 23:14:38 -02:00
d7d3233715 Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
2018-10-19 18:12:29 +02:00
aa8f255c0e Add Mesh Extra Objects: Update, Fix crash with Wall Factory
Bumped version to 0.3.2
Wall Factory:
Fix crash with Wall Factory when openings and slots
are enabled (unorderable types: opening() < opening())
with the repeat option on as the sort function compared
stored classes instead of the numerical values
Fix the module not working properly after (F8) reload
Cleanup - consistent prop definitions
Remove star imports
Small UI reorganization to save vertical space
The code will probably need some further refactor
as the usage of globals is not so clear

add_mesh_triangles:
cleanup, remove unused vars add missing GPL notice,
some UI tweaks, add tooltip

add_mesh_pyramid: indentation cleanup
add_mesh_beam_builder: add an option to snap to cursor
add_mesh_teapot: use defs instead of assigning lambdas (E731)
2017-06-09 23:06:28 +02:00
c86080a455 Add mesh extra objects: Update to version 0.3.1
General Pep8 cleanup
Removed unused variables and imports
Removed a panel from add_empty_as_parent
Standardized the property definitions
across all the scripts
Moved scene props from third_domes_panel_271
to init for proper removal
Added a Enum prop for mesh type in teapot
Fixed a small issue with Geodesic domes self.reports
(problem with value fields message spam)
Fixed props names in Geodesic domes
Consistent tooltips
Reorganized menus:
Mechanical Menu including Pipe joints, Mesh gear
Added separators
2016-12-30 20:33:05 +01:00
40c00d312f add_extra_mesh_objects: new version
Tracker: https://developer.blender.org/T44561

New UI, New Addons, Better organization & removal of 'Lesser Object
Types'

Merged & removed "lesser" & 'larger" add mesh scripts.
Menu updates & re-organization & modernize.
New: Add Vert, Round Cube, Menger Cube, Brilliant Diamond, Parent to
Empty
Removed: Add Mesh: Sqorus, Trapezohedron, Wedge, Polysphere.
Merged add_mesh_symmetrical_empty from contrib
Documentation:
http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Mesh_Extra_Objects
2015-05-01 10:52:03 +08:00
263763f2d1 updates & cleanup, merged pipe joints & solid objects, cleaner integration into shift/a 2014-08-05 00:31:22 +10:00
5bc482f647 Maintenance to bl_info, remove redundant tracker URL's 2014-05-21 13:04:43 +10:00
049a5a86ed Clean-up: Updated bl_info['tracker_url'] to developer.blender.org, some minor other edits 2014-02-04 03:05:05 +01:00
2a3e479351 Fix #37260 Weird behavior in adding gears from extra objects Addon.
All angle values must be defined in radians. The pressure angle was using a plain default value of 20, which in radians is way out of the sensible min/max range.
2013-10-31 09:16:27 +00:00
e8434f0e4f workaround for exception adding in editmode, for now setting vertex groups is unsupported in editmode.
support could be added through bmesh.
2013-09-12 21:02:35 +00:00
05b77ae4f8 length and rotation units for the add_gears.py by batfinger 2013-02-06 10:58:48 +00:00
2872d0440f fix [#33615] bl_info (2,6,5,0) vs. (2,65,0) ?
make addons blender versions consistent
2012-12-19 16:07:27 +00:00
2dc06f6d50 Style edit (mostly), use """ for docstrings (not '''). 2012-07-03 09:01:43 +00:00
7771f0fee3 - Removed dots from the end of description
- Check for keymap availability to suppress warning messages when running
  blender in background mode
2012-01-18 20:51:26 +00:00
9291f167be remove api field, was never used. 2012-01-14 13:00:28 +00:00
147aaf7d38 adding operator presets 2011-12-30 06:06:32 +00:00
3e0c882f06 removing version info & general clean up
version info is now located on the wiki page for the script/s
2011-10-10 09:22:50 +00:00
d744270e73 Addon UI Cleanup, Part 1
* General Rule (for Ivygen and Sapling): If you need more code for declaring the layouts than for the props itself, something is wrong. ;-)
* if > elif
2011-08-27 12:51:34 +00:00
488e1da935 cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
2011-07-10 22:57:27 +00:00
fca80ff61e update for changes in blender module layout, also add global axis conversion to FBX. 2011-05-16 07:52:45 +00:00
d96d9d390e merged "lesser" add mesh scripts.
add mesh extras, gemstones, twisted torus, gears & 3d function surfaces
Now in folder add_mesh_extra_objects under 1 init file.
2011-04-24 10:40:49 +00:00