kopia lustrzana https://gitlab.com/subdivided_xyz/nodes_xyz
Added the ShapeGrammar geometry node.
rodzic
7e289010c3
commit
b4d08bb721
16
README.md
16
README.md
|
@ -207,6 +207,22 @@ support the asset workflow.
|
|||
|
||||
> A node, that mimics blender's native z-Up curve orientation by calculating the corresponding tilt angles.
|
||||
|
||||
### [ShapeGrammar](geoNodes/shapeGrammar.blend) (Blender 4.0)
|
||||
|
||||
<img src="geoNodes/shapeGrammar.png" height=200 />
|
||||
|
||||
> A geometry node, that takes a grammar rule as input (e.g. "AB?(CB)*A") together with a collection and a curve
|
||||
> instances respective elements from the collection onto the curve. Rules are the following:
|
||||
> * A-Z : references a geometry from the collection (A=first geometry, B=second, C=third, ...)
|
||||
> * (...): groups elements together
|
||||
> * ?: Marks a geometry or group as optional
|
||||
> * *: Marks a geometry or group as repeatable
|
||||
>
|
||||
> For example the grammar from above ("AB?(CB)*A") can be expanded to a length of 9 in the following way:
|
||||
> ABCBCBCBA
|
||||
>
|
||||
> So the resulting geometry is framed by instances of A, while inside instances of B and C alternate.
|
||||
|
||||
### [StringToField](geoNodes/patternResample.blend) (Blender 3.5)
|
||||
|
||||
<img src="geoNodes/stringToField.webp" height=200/>
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 30 KiB |
|
@ -0,0 +1,92 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="512"
|
||||
height="512"
|
||||
viewBox="0 0 512 512"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
||||
sodipodi:docname="shapeGrammar.svg"
|
||||
inkscape:export-filename="shapeGrammar.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#999999"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="px"
|
||||
inkscape:zoom="2.5563567"
|
||||
inkscape:cx="284.19351"
|
||||
inkscape:cy="262.28734"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="2103"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="33"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="ConcaveTriangle"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Concave triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.7)"
|
||||
d="M -2,-4 9,0 -2,4 c 2,-2.33 2,-5.66 0,-8 z"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:none"
|
||||
id="path7" />
|
||||
</marker>
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Ebene 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:96px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px"
|
||||
x="29.942881"
|
||||
y="211.33464"
|
||||
id="text1"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1"
|
||||
x="29.942881"
|
||||
y="211.33464"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:96px;font-family:'Adobe Garamond';-inkscape-font-specification:'Adobe Garamond'">AB?(CB)*A</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:48px;line-height:1.25;font-family:'Adobe Garamond';letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:'Adobe Garamond';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal"
|
||||
x="24.606962"
|
||||
y="402.24826"
|
||||
id="text2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2"
|
||||
x="24.606962"
|
||||
y="402.24826"
|
||||
style="font-size:48px;-inkscape-font-specification:'Adobe Garamond';font-family:'Adobe Garamond';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">ABCBCBCBCBCBCBA</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#ConcaveTriangle)"
|
||||
d="m 253.06143,236.24505 0,58.64388"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 3.2 KiB |
Ładowanie…
Reference in New Issue