Age | Commit message (Collapse) | Author |
|
Part of T80730
|
|
This is no longer necessary, see: T98554.
|
|
See T95442
|
|
Fixes T94443
Updates all PDT python modules to use SPDX license identifiers.
|
|
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D5801
|
|
Fix a few speling issues in comments.
|
|
|
|
This enhancement enables the user to work always Normal to the View
as defined by "Working Plane" in PDT Design Functions Section.
For example: If the working plane is set to Front and the Operation is "Extrude Geometry"
the system will extrude along the Y axis by the amount specified in the "Distance" Entry Box.
Specifying Working Plane as "View" cause the system to work always Normal to the current
view orientation, i.e. into, or out of your screen.
This enhancement is only available for Blender 2.9x builds.
|
|
|
|
Fillet Radius and Tanget Radii were not defined with unit="LENGTH", causing problems when Blender Units are set to Imperial.
|
|
This resolves one of the last few areas where we still use inappropriate
abbreviations. Reading abbreviated words is usually slower, because
users must parse, guess and translate the words. Using abbreviations
such as 'rot' is also especially bad since it's a word in itself too.
The main advantage of abbreviations is that they are faster to *write*,
which just isn't a concern for text in the UI.
|
|
An issue occurred if you opened Blender with a new file where the
Parts Library path pointed relative to the Blender App, not the working
directory, so was not found.
The Parts Library file is now moved to the Parts Library Menu, so must
be set for new .blend files. Existing .blend files are not affected by
this change.
Error message altered to reflect the option of having this Parts Library
live anywhere.
New Feature: Add Trig Waves Functions
Requires the user to select an existing object in the Trig menu.
|
|
|
|
This commit is still WIP.
Added Enumerator for Tangent Types, refactored code, revised DocStrings.
This section of PDT still requires extensive testing, currently underway, but not complete.
|
|
This is still WIP.
Further expand options to work in any plane and from selected vertices.
DocStrings Added. Code refactored.
Further testing is still required before this can be released for general use.
|
|
This Branch is WIP, still in development and not yet suitable for a release.
This process will add the ability to draw tangents from a point to an arc, or circle.
It will also add the ability to draw tangents, both inner and outer, between two arcs.
Arc centres and radii can be manually input into the UI, or set from three vertices that
lie on an imaginary arc. Tangent functions have their own PDT Sub-menu.
This commit only works in Front view, to get the maths right, later commits will expand
this into any view orientation, using existing PDT code.
This commit does not contain DocStrings for the new pdt_tangent.py file, these will
also follow in a later commit.
It is recommended that this commit is not used in a production environment. Once
complete, a new version Branch will be added, at this point the code will reach Alpha
status and be appropriate for extensive user testing.
|
|
|
|
|
|
All Docstrings have been examined for typos and format, etc.
Small code change to set Selection Mode to "SEL" if operation is not
"C" or "P" to avoid possible errors when using other operations.
|
|
|
|
- Remove unused imports
- Add comments where appropriate
- Improve readability of variable names
- Re-implement a couple of functions using dictionaries instead of if-statements
- Results of Pylint & Black operations, plus some fixes to code.
|
|
Applies system rounding to inputs as defined in Add-on Preferences.
Default is 5 places of decimal, values taken from UI, or by calculation are
rounded before command is submitted.
|
|
Most of the recommendations from pylint are now done, I have not changed variables
like v in expression [v for v in... as I consider these to be normal coding practice.
Rename pdt_com_functions.py to pdt_command_functions.py
Fix error in Intersect operation if selected vertices resulted in more than
2 edges being selected. Priority is given to two edges as a selection, then to
4 vertices, if the four vertices represent two edges, the intersection point is
at the intersection of the two edges, which might not be the four vertices, if
one of the vertices forms part of two edges that are also selected.
Priority is 2 edges, then 4 vertices selected individually with the mouse.
|
|
Moved all PDT Design Operations and Tools to Command Line file to de-dupe
code. All can now be called from the command line, e.g. a command of "otc" sets
the active objects Origin To Cursor, etc. Needs extensive further testing to see if all
Operations in all Modes still work exactly as before.
Tools menu split out from PDT Design so it can be minimised when not in use.
|
|
The menus now are re-arranged according to the width of the UI.
A cut-off value is set in the Add-on Preferences.
Remove vestiges of automatic UI highlighting experiment.
|
|
|
|
|
|
This enables two non-connected edges to be filleted. The Process starts with an
intersection of the two edges, then fillets the corner according to input values
in the UI. This option is selected by setting the Int/Fillet checkbox.
The command Line version now takes the `fi...` format to intersect first. e.g.
`fi1.1,6,0.05` performs an intersected fillet of 1.6 units radius, 6 segments,
concave profile.
|
|
Add "Re-Run" button to repeat last command line input.
Add "Maths Output" to take result of calculation when the `mo` command is used.
Allow commas in maths operation so calls like `hypot(3,4)` can be used.
|
|
Pivot Point Graphics Fix:
Prior to this commit, Pivot Point Graphics showed at inconsistent sizes in
rotated and orthographic views.
This commit now checks the status of the view and scales the graphics
accordingly.
PDT Design UI panel changes:
Attempt to group related input fields and buttons via boxes. Feedback
most welcome.
|
|
- In orthographic mode, will recenter the view and its distance.
- In non-orthographic mode, will reset to the Blender default view.
- Is hooked up to a button in the PDT View Control UI Panel.
|
|
Accepted for inclusion per T70238
|