### Manage Renga SDK Ports and Parameters Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/engineering_system_object.html Provides examples of how to interact with ports in the Renga SDK. This includes getting port parameters like Height and Diameter, setting port placement using Placement3D, and configuring pipe parameters. ```Lua local height = Style.GetParameter("Dimensions", "Height"):GetValue() local coldWaterOrigin = Point3D(0, 0, height) local portPlacement = Placement3D(coldWaterOrigin, Vector3D(0, 1, 0), Vector3D(1, 0, 0)) Style.GetPort("PortName"):SetPlacement(portPlacement) local connectionType = Style.GetParameter("Port", "ConnectionType"):GetValue() local diameter = Style.GetParameter("Port", "Diameter"):GetValue() Style.GetPort("PortName"):SetPipeParameters(connectionType, diameter) ``` -------------------------------- ### RstBuilder.exe Usage Examples Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/style_template_building.html Provides practical examples of how to use RstBuilder.exe with different combinations of options for building style templates. ```APIDOC RstBuilder.exe configuration.json run.lua -s 1.0 -i library.lua RstBuilder.exe --executable_lua C:\Project\run.lua --configuration C:\Project\configuration.json --stdlVersion 1.0 --output C:\Project\category.rst RstBuilder.exe configuration.json run.lua -s 1.0 -o category.rst RstBuilder.exe configuration.json run.lua -s 1.0 -o category.rst -i C:\Modules\mod1.lua -i C:\Modules\mod2.lua ``` -------------------------------- ### Renga SDK Example Usage (Lua) Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/group___three-dimensional.html Example demonstrating how to use Renga SDK functions in Lua to create a revolved solid. ```Lua local generatrixCurve = CreateLineSegment2D(Point2D(0, 300), Point2D(400, 0)) local initialCurvePlacement = Placement3D(Point3D(0, 0, 0), Vector3D(1, 0, 0), Vector3D(0, 1, 0)) local parameters = RevolutionParameters(math.pi) parameters.InwardOffset = 10 solid = Revolve(generatrixCurve, initialCurvePlacement, CreateZAxis3D(), parameters) ``` -------------------------------- ### Renga SDK Rebar Utility Functions Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Provides utility functions for retrieving rebar properties. ```APIDOC GetRebarRadius(rebarStyleID): number Returns the radius of the rebar. ``` -------------------------------- ### Define Rebar Placement Variables Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Sets up variables for the vertical positioning of longitudinal and transverse reinforcement based on rebar radii. ```Lua -- Высота расположения продольной арматуры local longHeight = GetRebarRadius(longRebarStyleID) -- Высота расположения поперечной арматуры local transHeight = GetRebarRadius(longRebarStyleID) * 2 + GetRebarRadius(transRebarStyleID) ``` -------------------------------- ### Generate Rebar Layouts Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Uses the CreateRebarLayoutWithFreeEnd function to create both longitudinal and transverse reinforcing bars for the mesh. ```Lua CreateRebarLayoutWithFreeEnd(longRebarStyleID, longRebarLine, width, transFreeEnd, longStep, longVector) CreateRebarLayoutWithFreeEnd(transRebarStyleID, transRebarLine, length, longFreeEnd, transStep, transVector) ``` -------------------------------- ### Renga SDK 3D Geometry API Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Provides definitions for 3D geometry primitives and creation functions within the Renga SDK. ```APIDOC Point3D: Represents a point in 3D space. Vector3D: Represents a vector in 3D space. CreateLineSegment3D(startPoint: Point3D, endPoint: Point3D): Curve3D Creates a line segment. ShiftedByVector(curve3d, vector, distance) Shifts a 3D curve by a vector and distance. ``` -------------------------------- ### Renga SDK 2D Geometry API Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Provides definitions for 2D geometry primitives and creation functions within the Renga SDK. ```APIDOC Point2D: Represents a point in 2D space. GeometrySet2D: A set of geometric primitives, which can include 2D curves and fills. AddCurve(curve: Curve2D): Adds a curve to the geometry set. CreateRectangle2D(center: Point2D, angle: double, width: number, height: number): Curve2D Creates a rectangle as a composite curve of four line segments. CreateLineSegment2D(startPoint: Point2D, endPoint: Point2D): Curve2D Creates a line segment from two points. ``` -------------------------------- ### Renga SDK Style and Model Geometry API Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Defines functions for managing styles and model geometry, including setting symbolic representations. ```APIDOC Style: AddRebarSet(rebarStyleId, curve3d, vector, step, count) AddRebar(rebarStyleId, curve3d) SetSymbolicGeometry(modelGeometry: ModelGeometry) ModelGeometry: Model geometry. AddGeometrySet2D(geometrySet: GeometrySet2D, placement: Placement3D) Placement3D: Local coordinate system in 3D space. ``` -------------------------------- ### JavaScript Navigation Tree Initialization Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/example_of_style_template_creation.html Initializes the navigation tree for the documentation, enabling features like resizable panels. This script is typically part of a documentation generation tool like Doxygen. ```JavaScript $(function(){ initNavTree('example_of_style_template_creation.html',''); initResizable(); }); ``` -------------------------------- ### Renga STDL Lua Scripting: Getting Parameter Values Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/reinforcement.html Demonstrates how to retrieve parameter values within a Renga STDL Lua script using the Style namespace. It shows an example of accessing a specific parameter ('Width') from a group ('Dimensions'). ```Lua local parameters = Style.GetParameterValues() print(parameters.Dimensions.Width) ``` -------------------------------- ### Curve2D Class Members Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/class_curve2_d-members.html This section lists all members of the Curve2D class, including inherited members. It details methods for cloning, getting bounds, start and end points, inverting, comparing, rotating, scaling, shifting, transforming, and trimming the curve. ```APIDOC Curve2D: Clone() Returns a copy of the Curve2D object. GetBounds() Returns the bounding box of the curve. GetEndPoint() Returns the end point of the curve. GetStartPoint() Returns the start point of the curve. Invert() Inverts the curve. operator==(Curve2D other) Compares two Curve2D objects for equality. operator~=(Curve2D other) Compares two Curve2D objects for inequality. Rotate(Point2D point, number angle) Rotates the curve around a given point by a specified angle. Scale(Point2D point, number xScale, number yScale) Scales the curve relative to a given point with specified x and y scale factors. Shift(number dx, number dy) Shifts the curve by specified delta values in the x and y directions. Transform(Matrix2D matrix) Applies a 2D transformation matrix to the curve. Trim(Point2D startPoint, Point2D endPoint) Trims the curve between the specified start and end points. ``` -------------------------------- ### JavaScript Search Box Initialization Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/example_of_style_template_creation.html Initializes the search box functionality for the documentation site, allowing users to search for content. It focuses the search field if search results are present. ```JavaScript var searchBox = new SearchBox("searchBox", "search/",".html"); $(function() { if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); } }); ``` -------------------------------- ### RstBuilder.exe Command Line Format Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/style_template_building.html Demonstrates the basic structure for running the RstBuilder utility from the command line, including essential parameters. ```APIDOC RstBuilder.exe [configuration] [executable_lua] [options] Options: -h, --help Display the utility help. -v, --version Display the utility version information. --configuration path_to_configuration_file Specify the location of the file in JSON format. --executable_lua path_to_executable_lua_file Specify the location of the Lua-script file. -s stdl_version, --stdlVersion stdl_version Set the STDL version. Defines the validation rules and STDL version for the style template. -o path_to_output_file, --output path_to_output_file Specify the location of the created category file in RST format. -i path_to_include_lua_file, --include path_to_include_lua_file Specify the location of additional Lua scripts and modules. ``` -------------------------------- ### Curve2D Class Members Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/class_curve2_d-members.html This section lists the members of the Curve2D class, detailing various functionalities such as cloning, geometric transformations, and curve manipulation. It includes methods for getting curve bounds, start and end points, inverting the curve, comparing curves, rotating, scaling, shifting, transforming with a matrix, and trimming the curve. ```APIDOC Curve2D Class Members: Clone() - Creates a copy of the Curve2D object. GetBounds() - Returns the bounding box of the curve. GetEndPoint() - Returns the end point of the curve. GetStartPoint() - Returns the start point of the curve. Invert() - Inverts the curve. operator==(Curve2D other) - Compares this Curve2D object with another for equality. operator~=(Curve2D other) - Compares this Curve2D object with another for inequality. Rotate(Point2D point, number angle) - Rotates the curve around a specified point by a given angle. Scale(Point2D point, number xScale, number yScale) - Scales the curve with respect to a specified point by given x and y scale factors. Shift(number dx, number dy) - Shifts the curve by specified delta values in the x and y directions. Transform(Matrix2D matrix) - Applies a 2D transformation matrix to the curve. Trim(Point2D startPoint, Point2D endPoint) - Trims the curve between two specified points. ``` -------------------------------- ### Create Arc2D by Center, Start, End Points Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___two-dimensional.html Creates a circular arc using its center point, a start point, and an end point. The start point defines the radius. Supports clockwise or counterclockwise direction. ```APIDOC CreateArc2DByCenterStartEndPoints(centerPoint: Point2D, startPoint: Point2D, endPoint: Point2D, clockwise: boolean): Curve2D Parameters: centerPoint: The center of the arc. startPoint: The start point of the arc. It defines the radius. endPoint: The end point of the arc. clockwise: The direction of the arc. true – clockwise, false – counterclockwise. ``` -------------------------------- ### JavaScript Navigation Tree Initialization Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/required_tools.html Initializes the navigation tree for the documentation, setting up the initial state and enabling resizable panels. ```javascript $(function(){initNavTree('required_tools.html',''); initResizable(); }); ``` -------------------------------- ### Renga STDL Port Configuration Examples Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/engineering_system_object.html Demonstrates port configurations in Renga STDL, including flow direction and system categories for different system types (pipe, duct, electrical) and port roles. ```json { "name": "PipeInlet", "text": "Pipe inlet", "flowDirection": "Inlet", "systemCategories": [ "DomesticColdWater" ] } ``` ```json { "name": "DuctOutlet", "text": "Duct outlet", "flowDirection": "Outlet", "systemCategories": [ "Ventilation" ], "portRole": "TransitPort" } ``` ```json { "name": "ElectricalConnection", "text": "Electrical connection", "flowDirection": "InletAndOutlet", "systemCategories": [ "LightingCircuit" ], "portRole": "EndPort" } ``` -------------------------------- ### Navigation Tree Initialization Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/class_parameter_container-members.html Initializes the navigation tree for the documentation, setting up the initial state and enabling resizable panels. ```javascript $(function(){ initNavTree('class_parameter_container.html',''); initResizable(); }); ``` -------------------------------- ### Create Elliptical Arc2D by Center, Start, End Points Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___two-dimensional.html Creates an elliptical arc defined by the ellipse's center, rotation angle, radii, start point, end point, and direction. ```APIDOC CreateEllipticalArc2DByCenterStartEndPoints(center: Point2D, angle: number, radiusAlongXAxis: number, radiusAlongYAxis: number, startPoint: Point2D, endPoint: Point2D, clockwise: boolean): Curve2D Parameters: center: Ellipse center. angle: Counterclockwise rotation angle relative center, in radians. radiusAlongXAxis: Semi-axis radius along X axis. radiusAlongYAxis: Semi-axis radius along Y axis. startPoint: The start point of the arc. endPoint: The end point of the arc. clockwise: The direction of the arc. true - clockwise, false - counterclockwise. ``` -------------------------------- ### Renga STDL Parameter Types and Configurations Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/engineering_system_object.html Illustrates various parameter types and their configurations within Renga STDL, including enums, numeric ranges, and material selection via Id. ```json { "name": "Material", "text": "Material", "type": "Id", "entityTypeId": "0abcb18f-0aaf-4509-bf89-5c5fad9d5d8b" } ``` ```json { "name": "ParameterName", "text": "Parameter name", "type": "Length", "default": 595, "min": 1, "max": 1000000.0 } ``` ```json { "name": "EnumParameter", "text": "Enum Parameter", "type": "UserEnum", "items": [ { "key": "Item1", "text": "Item 1" }, { "key": "Item2", "text": "Item 2" }, { "key": "Item3", "text": "Item 3" } ] } ``` -------------------------------- ### Create 3D Circular Arc by Center, Start, and End Points Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___three-dimensional.html Creates a circular arc in 3D space using its center point, a start point (which defines the radius), and an end point. The direction of the arc can be specified as clockwise or counter-clockwise. ```APIDOC CreateArc3DByCenterStartEndPoints(centerPoint: Point3D, startPoint: Point3D, endPoint: Point3D, clockwise: bool) -> Curve3D Parameters: centerPoint: The center of the arc. startPoint: The start point of the arc. It defines the radius. endPoint: The end point of the arc. clockwise: The direction of the arc. If true, the direction is clockwise when viewed against the vector product of (startPoint - centerPoint) and (endPoint - centerPoint). ``` -------------------------------- ### Renga STDL Lua Scripting: User Enumeration Example Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/reinforcement.html Provides an example of defining a 'UserEnum' type parameter in a Renga STDL parameter description file. This allows for custom user-defined enumerations with selectable items, each having a key and display text. ```JSON "items" : [ { "key" : "Item1", "text" : "Item 1" }, { "key" : "Item2", "text" : "Item 2" }, { "key" : "Item3", "text" : "Item 3" } ] ``` -------------------------------- ### Set Insulation Skeleton Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/namespace_style.html Demonstrates setting the insulation skeleton for an object using the Style::SetInsulationSkeleton method, which takes a table of parts with their geometry and placement. ```Lua [Style](namespace_style.html).[SetInsulationSkeleton](#a8cdce841183e905870ca5c2f0d408033)({{spine1, {contour}, {placement1}, InsulationCapType.None, InsulationCapType.Flat}, {spine2, {contour}, {placement2}, InsulationCapType.Flat}}) ``` -------------------------------- ### Create Rebar Layout with Free End Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Calculates and adds a set of rebars with a specified step and count, handling an optional additional step at the end. It also includes logic for adding a single rebar if the last step is not zero. ```Lua local number = math.floor(length / step) -- Определяем нужен ли доборный шаг local lastStep = length - step * number if lastStep < rebarRadius * 2 and lastStep ~= 0 then number = number - 1 end ShiftedByVector(curve3d, vector, freeEnd + rebarRadius) -- Создаём группу стержней с равным шагом [Style](namespace_style.html).AddRebarSet(rebarStyleId, curve3d, vector, step, number + 1) -- Если нужен доборный шаг, добавляем стержень if lastStep ~= 0 then ShiftedByVector(curve3d, vector, length) [Style](namespace_style.html).AddRebar(rebarStyleId, curve3d) end ``` -------------------------------- ### Create Longitudinal Rebar Geometry Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Defines the line segment and vector for the longitudinal rebars. ```Lua -- Задаём кривую и вектор для продольных арматурных стержней: local longRebarLine = [CreateLineSegment3D](group___three-dimensional.html#ga7ec4e693e665ecc86b6094bef9aab3ec)([Point3D](class_point3_d.html)(-length / 2, -width / 2, longHeight), [Point3D](class_point3_d.html)(length / 2, -width / 2, longHeight)) local longVector = [Vector3D](class_vector3_d.html)(0, 1, 0) ``` -------------------------------- ### Renga STDL SDK Directory Structure Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/README.md Provides an overview of the Renga STDL SDK's file and directory organization. It details the location of sample templates, the RstBuilder console utility, and the documentation files. ```text 📁 **Root SDK directory** ├── 📁 **Samples** - Contains style template samples ├── **RstBuilder** │ └── 🖥️ **RstBuilder.exe** - Console utility for style template building ├── 📁 **Docs** - Documentation contents ├── 🌐 **GetStarted_en.html** - Reference for Renga STDL (english) ├── 🌐 **GetStarted_ru.html** - Reference for Renga STDL (russian) └── 📄 **ReadMeFirst.txt** - This document ``` -------------------------------- ### Create Transverse Rebar Geometry Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Defines the line segment and vector for the transverse rebars. ```Lua -- Задаём кривую и вектор для поперечных арматурных стержней: local transRebarLine = [CreateLineSegment3D](group___three-dimensional.html#ga7ec4e693e665ecc86b6094bef9aab3ec)([Point3D](class_point3_d.html)(-length / 2, -width / 2, transHeight), [Point3D](class_point3_d.html)(-length / 2, width / 2, transHeight)) local transVector = [Vector3D](class_vector3_d.html)(1, 0, 0) ``` -------------------------------- ### Create Line Segment 2D Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___three-dimensional.html Creates a 2D line segment defined by its start and end points. ```APIDOC Curve2D CreateLineSegment2D(Point2D startPoint, Point2D endPoint) Creates a line segment based on two points. ``` -------------------------------- ### Create 2D Line Segment Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___two-dimensional.html Creates a line segment in 2D space defined by its start and end points. ```APIDOC CreateLineSegment2D(startPoint: Point2D, endPoint: Point2D): Curve2D Creates a line segment based on two points. Parameters: startPoint: The start point of the segment. endPoint: The end point of the segment. ``` -------------------------------- ### Placement3D Class Methods Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/class_placement3_d.html This section details the methods available for the Placement3D class, including constructors, transformation operations (Shift, Rotate, Scale, Transform), cloning, retrieving coordinate system properties (Origin, Axes), and comparison operators. ```APIDOC Placement3D(Point3D point, Vector3D zAxisDirection, Vector3D xAxisDirection) Constructor taking a point and two vectors. Shift(number x, number y, number z) Shifts the coordinate system by the given amounts along the coordinate axes. Rotate(Axis3D axis, number angle) Rotates the coordinate system. Arguments: axis: The axis of rotation. angle: The angle of rotation in radians. Scale(Point3D fixedPoint, number xScale, number yScale, number zScale) Scales the local coordinate system. Arguments: fixedPoint: The fixed point for scaling. xScale: The scaling factor along the X axis. yScale: The scaling factor along the Y axis. zScale: The scaling factor along the Z axis. Transform(Matrix3D matrix) Transforms according to the matrix. Clone() Returns a copy of the object. GetOrigin() Returns the origin of the coordinate system. GetXAxisDirection() Returns the direction of the X axis. GetYAxisDirection() Returns the direction of the Y axis. GetZAxisDirection() Returns the direction of the Z axis. GetXAxis() Returns the X axis. GetYAxis() Returns the Y axis. GetZAxis() Returns the Z axis. operator==(Placement3D other) Checks for equality. operator~=(Placement3D other) Checks for inequality. GetMatrix() Returns the transformation matrix from the local coordinate system. ``` -------------------------------- ### Define 3D Placement Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/namespace_style.html Shows how to define a 3D placement using the Placement3D class, specifying origin, forward, and up vectors. ```Lua local placement1 = [Placement3D](class_placement3_d.html)([Point3D](class_point3_d.html)(0, 0, 0), [Vector3D](class_vector3_d.html)(-1, 0, 0), [Vector3D](class_vector3_d.html)(0, 0, -1)) ``` ```Lua local placement2 = [Placement3D](class_placement3_d.html)([Point3D](class_point3_d.html)(0, 0, 0), [Vector3D](class_vector3_d.html)(0, 1, 0), [Vector3D](class_vector3_d.html)(0, 0, -1)) ``` -------------------------------- ### Renga STDL Solid Class API Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/class_solid.html API documentation for the Renga STDL Solid class, covering its core functionalities including transformations, cloning, and comparison. ```APIDOC Solid Class Reference Public Member Functions ----------------------- self **Shift** (number dx, number dy, number dz) Shifts the solid by the specified values ​​along the coordinate axes. self **Rotate** ([Axis3D](class_axis3_d.html) axis, number angle) Rotates the solid. self **Transform** ([Matrix3D](class_matrix3_d.html) matrix) Transform according to the matrix. self **Scale** ([Point3D](class_point3_d.html) fixedPoint, number xScale, number yScale, number zScale) Scales the solid. [Solid](class_solid.html) **Clone** () Returns a copy of the object. self **ShowTangentEdges** (boolean show) Sets visibility of the edges at the smooth junctions of the faces. All edges of the solid are visible by default. boolean **operator==** ([Solid](class_solid.html) other) Checks for equality. boolean **operator~=** ([Solid](class_solid.html) other) Checks for inequality. Detailed Description -------------------- [Solid](class_solid.html "Solid body.") body. Member Function Documentation ----------------------------- [◆](#a13c2082a74e38a7217d2da86c7c5941d) Rotate() ------------------------------------------------ self Rotate ( [Axis3D](class_axis3_d.html) _axis_, number _angle_ ) Rotates the solid. Parameters axis Axis of rotation. angle The angle in radians. [◆](#ade24022060233ed1a98fd8cfb3dcf1e5) Scale() ----------------------------------------------- self Scale ( [Point3D](class_point3_d.html) _fixedPoint_, number _xScale_, number _yScale_, number _zScale_ ) Scales the solid. Parameters fixedPoint Fixed point. xScale X scale coefficient. yScale Y scale coefficient. zScale Z scale coefficient. ``` -------------------------------- ### Create Arc2D by Three Points Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/group___two-dimensional.html Creates a circular arc that passes through a start point, an intermediate point, and an end point. ```APIDOC CreateArc2DByThreePoints(startPoint: Point2D, intermediatePoint: Point2D, endPoint: Point2D): Curve2D Parameters: startPoint: The start point of the arc. intermediatePoint: Point lying on an arc. endPoint: The end point of the arc. ``` -------------------------------- ### Renga STDL Initialization and Search Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/index.html Contains JavaScript code for initializing the search box and navigation tree for the Renga STDL documentation, likely generated by a documentation tool like Doxygen. ```JavaScript var searchBox = new SearchBox("searchBox", "search/", ".html"); $(function(){ initNavTree('index.html',''); initResizable(); }); ``` -------------------------------- ### Set Symbolic Geometry Placement and Style Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/Ru/reinforcing_mesh.html Defines the vertical position for the symbolic representation and applies it to the rebar style. ```Lua local symbolicHeight = GetRebarRadius(longRebarStyleID) + GetRebarRadius(transRebarStyleID) local symbolicGeometry = [ModelGeometry](class_model_geometry.html)() local symbolicGeometryPlacement = [Placement3D](class_placement3_d.html)([Point3D](class_point3_d.html)(0, 0, symbolicHeight), [Vector3D](class_vector3_d.html)(0, 0, 1), [Vector3D](class_vector3_d.html)(1, 0, 0)) symbolicGeometry:AddGeometrySet2D(MakeSymbolicGeometrySet(), symbolicGeometryPlacement) [Style](namespace_style.html).SetSymbolicGeometry(symbolicGeometry) ``` -------------------------------- ### Renga SDK API Documentation Source: https://github.com/bkamuz/renga-stdl-sdk/blob/main/Docs/En/reinforcement.html API documentation for core Renga SDK functionalities, including parameter access, entity casting, and rebar creation. ```APIDOC GeometryStyleMethodRegistrator.h:14 Definition: GeometryStyleMethodRegistrator.h:14 Description: In this case, the value of the "Width" parameter from the "Dimensions" parameter group will be printed to the log. Style.GetParameterGroup(groupName) Description: Retrieves a parameter group object. Style.GetParameter(groupName, parameterName) Description: Retrieves a specific parameter object. Project.GetRebarStyle(id) Description: Returns the rebar style by its id. CastToParameterContainer(entity) Description: Casts an entity to parameter container, if casting is allowed. ParameterContainer.GetParameterValues() Description: Gets all parameter values from the container. Style.AddRebar(rebarStyle, curve) Description: Adds the rebar defined by the rebar style and the curve. Style.AddRebarSet(rebarStyle, curve, step, count) Description: Adds the rebar set. CreateLineSegment3D(startPoint, endPoint) Description: Creates line segment. Point3D Description: Three-dimensional point. Vector3D Description: Three-dimensional vector. Style.SetSymbolicGeometry(modelGeometry) Description: Sets the symbolic geometry using model geometry. ```