Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cwapi3d"
version = "33.264.2"
version = "33.265.2"
authors = [{ name = "Cadwork", email = "it@cadwork.ca" }]
requires-python = ">= 3.14"
description = 'Python bindings for CwAPI3D'
Expand Down
35 changes: 33 additions & 2 deletions src/element_controller/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def create_drilling_vectors(diameter: float, length: float, starting_point: poin
diameter: The diameter of the drilling.
length: The length of the drilling.
starting_point: The starting point of the drilling.
drilling_direction: The direction of the drilling.
drilling_direction: The direction of the drilling. (The vector needs to be normalized beforehand)

Examples:
>>> drill_diameter = 12.
Expand Down Expand Up @@ -431,7 +431,7 @@ def rotate_elements(element_id_list: list[ElementId], origin: point_3d, rotation
element_id_list: The element id list.
origin: The origin point of the rotation.
rotation_axis: The axis around which to rotate the elements.
rotation_angle: The angle by which to rotate the elements un degree.
rotation_angle: The angle by which to rotate the elements in radians.
"""

def subtract_elements(hard_elements: list[ElementId], soft_elements: list[ElementId]) -> list[ElementId]:
Expand Down Expand Up @@ -2318,3 +2318,34 @@ def get_element_active_point(element_id: ElementId) -> active_point_result:
Returns:
True/False plus point data when available.
"""

def get_standard_beam_guid_list() -> list[str]:
"""Retrieves a list of standard beam GUIDs.

Returns:
The list of GUIDs of standard beams.
"""


def get_standard_panel_guid_list() -> list[str]:
"""Retrieves a list of standard panel GUIDs.

Returns:
The list of GUIDs of standard panels.
"""


def import_standard_beam_from_file(file_path: str) -> None:
"""Imports a standard beam from a file.

Parameters:
file_path: The path to the file to be imported.
"""


def import_standard_panel_from_file(file_path: str) -> None:
"""Imports a standard panel from a file.

Parameters:
file_path: The path to the file to be imported.
"""
Loading