Skip to content

Commit

Permalink
- append node Straight Skeleton 2D Offset
Browse files Browse the repository at this point in the history
- refactor node Straight Skeleton 2D Extrude
- Added docs
  • Loading branch information
satabol committed Nov 9, 2024
1 parent 4e115b3 commit c929df3
Show file tree
Hide file tree
Showing 6 changed files with 471 additions and 1,527 deletions.
21 changes: 6 additions & 15 deletions docs/nodes/CAD/stright_skeleton_2d_extrude.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Stright Skeleton 2d (Alpha)
===========================

.. image:: https://github.com/user-attachments/assets/2a141705-62e6-489b-a4be-9333df8c7951
:target: https://github.com/user-attachments/assets/2a141705-62e6-489b-a4be-9333df8c7951
.. image:: https://github.com/user-attachments/assets/9f51d3d0-822f-43ee-adde-ce06acc09ea2
:target: https://github.com/user-attachments/assets/9f51d3d0-822f-43ee-adde-ce06acc09ea2

!!! **"Exclude height" parameter was renamed into "Restrict Height" !!! Images will be update later...**

Expand Down Expand Up @@ -55,21 +55,19 @@ Inputs
.. image:: https://github.com/user-attachments/assets/7828d4c0-eac3-4c7d-992e-c527cdcbfbe0
:target: https://github.com/user-attachments/assets/7828d4c0-eac3-4c7d-992e-c527cdcbfbe0

|
If you do not connect any lists of floats values then this value will be used for every objects
connected into this node:

.. image:: https://github.com/user-attachments/assets/51ccfb1a-30c5-43ed-9b9f-b2e1c6402cb8
:target: https://github.com/user-attachments/assets/51ccfb1a-30c5-43ed-9b9f-b2e1c6402cb8

|
If you connect list of floats then it will be used per objects:

.. image:: https://github.com/user-attachments/assets/f40f4f4f-92dd-4d41-9eae-ddb890214fb6
:target: https://github.com/user-attachments/assets/f40f4f4f-92dd-4d41-9eae-ddb890214fb6

- **Shapes mode**. Original, Exckude Holes, Invert Holes
- **Restrict Height**.
- **Height** - Height of object or objects. If used single value then this value vill be used for every objects. If socket is connected with float values then values will be used per objects:

.. raw:: html
Expand All @@ -79,8 +77,6 @@ If you connect list of floats then it will be used per objects:
Your browser does not support the video tag.
</video>

|
- **Mask of objects** - Mask hide objects. If element of boolean mask is True then object are hidden. If length of mask is more than length of objects then exceeded values will be omitted.

.. raw:: html
Expand All @@ -90,8 +86,6 @@ If you connect list of floats then it will be used per objects:
Your browser does not support the video tag.
</video>

|
You can use index mask of integer values. If index is out of count of objects then it will be omitted. Equals values are merged.

.. raw:: html
Expand All @@ -101,16 +95,13 @@ If you connect list of floats then it will be used per objects:
Your browser does not support the video tag.
</video>

|
|
Parameters
----------

.. image:: https://github.com/user-attachments/assets/0119d5b9-09d2-49a4-b4fd-91e0afdcf76c
:target: https://github.com/user-attachments/assets/0119d5b9-09d2-49a4-b4fd-91e0afdcf76c

- **Join mode**. **Split**, **Keep**, **Merge**.
- **Results Join mode**. **Split**, **Keep**, **Merge**.
- **Split** - If some of objects has several independent meshes then they will be splitten individually and you can get more object on output than on input. (Mask will hide all meshes in multimesh objects)

.. image:: https://github.com/user-attachments/assets/5d76cd4f-bb2a-4a05-b218-85ae0d96adee
Expand All @@ -126,7 +117,7 @@ Parameters
.. image:: https://github.com/user-attachments/assets/bd119bb8-ad08-4983-be67-d97c20ad8bb3
:target: https://github.com/user-attachments/assets/bd119bb8-ad08-4983-be67-d97c20ad8bb3

- **Restrict Height** (old name is "Exclude Height")- If you want to see objects without height limits just turn it off. All objects will be recalulated without heights limits (in the input field or socket).
- **Restrict Height** - If you want to see objects without height limits just turn it off. All objects will be recalulated without heights limits (in the input field or socket).

.. raw:: html

Expand Down
3 changes: 1 addition & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,8 @@
- SvCSGBooleanNodeMK2
- SvWafelNode
- ---
- SvStraightSkeleton2DExtrude
- SvStraightSkeleton2DOffset
- SvStraightSkeleton2DExtrudeInternal
- SvStraightSkeleton2DExtrude

- ---

Expand Down
2 changes: 1 addition & 1 deletion menus/full_by_data_type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@
- SvCSGBooleanNodeMK2
- SvWafelNode
- ---
- SvStraightSkeleton2DExtrude
- SvStraightSkeleton2DOffset
- SvStraightSkeleton2DExtrude

- Analyze Mesh:
- extra_menu: MeshPartialMenu # to make the category available in another menu (1,2,3,4,5)
Expand Down
2 changes: 1 addition & 1 deletion menus/full_nortikin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@
- SvCSGBooleanNodeMK2
- SvWafelNode
- ---
- SvStraightSkeleton2DExtrude
- SvStraightSkeleton2DOffset
- SvStraightSkeleton2DExtrude

- C CURVES:
- icon_name: OUTLINER_OB_CURVE
Expand Down
Loading

0 comments on commit c929df3

Please sign in to comment.