ifcopenshell.api.geometry.add_representation
¶
Module Contents¶
- class ifcopenshell.api.geometry.add_representation.Usecase¶
- convert_si_to_unit(co)¶
- create_annotation2d_representation()¶
- create_annotation3d_representation()¶
- create_annotation_fill_areas(is_2d=False) list[ifcopenshell.entity_instance] ¶
- create_arbitrary_extrusion_representation()¶
- create_arbitrary_void_extrusion_representation()¶
- create_box_representation()¶
- create_camera_block_representation()¶
- create_camera_pyramid_representation()¶
- create_cartesian_point(x, y, z=None, is_model_coords=True)¶
- create_cartesian_point_list_from_vertices(vertices: list[bpy.types.MeshVertex], is_2d=False, is_model_coords=True)¶
- create_circle_extrusion_representation()¶
- create_curve2d_representation()¶
- create_curve3d_representation()¶
- create_curve_bounded_planes(is_2d=False)¶
- create_curve_from_polygon(points: ifcopenshell.entity_instance, polygon: bpy.types.MeshPolygon, is_2d=False) ifcopenshell.entity_instance ¶
- create_curve_from_polygon_ifc2x3(polygon, is_2d=False)¶
- create_curves(should_exclude_faces=False, is_2d=False, ignore_non_loose_edges=False)¶
- create_curves_from_curve(is_2d=False, curve_object_data=None)¶
- create_curves_from_curve_ifc2x3(is_2d=False, curve_object_data=None)¶
- create_curves_from_mesh(should_exclude_faces=False, is_2d=False)¶
- create_curves_from_mesh_ifc2x3(should_exclude_faces=False, is_2d=False) list[ifcopenshell.entity_instance] ¶
- create_edge()¶
- create_faceted_brep()¶
- create_geometric_curve_set_representation(is_2d=False)¶
- create_light_source()¶
- create_light_source_positional()¶
- create_lighting_representation()¶
- create_material_profile_set_extrusion_representation()¶
- create_mesh_representation()¶
- create_model_representation()¶
- create_plan_representation()¶
- create_plane(polygon)¶
- create_point_cloud_representation(is_2d=False)¶
- create_polygonal_face_set()¶
- create_rectangle_extrusion_representation()¶
- create_structural_reference_representation()¶
- create_swept_disk_solid_representation()¶
- create_swept_disk_solids()¶
- create_text()¶
- create_text_representation(is_2d=False)¶
- create_triangulated_face_set()¶
- create_variable_representation()¶
- create_vertex_point(point)¶
- create_vertices(is_2d=False)¶
- evaluate_geometry()¶
- execute()¶
- is_camera_landscape()¶
- is_mesh_curve_consecutive(geom_data)¶
- remove_doubles_from_mesh(mesh)¶
- should_triangulate_face(face, threshold=EPSILON)¶
- file: ifcopenshell.file¶
- settings: dict[str, Any]¶
- ifcopenshell.api.geometry.add_representation.add_representation(file: ifcopenshell.file, *, context: ifcopenshell.entity_instance, blender_object: bpy.types.Object, geometry: bpy.types.Mesh | bpy.types.Curve, coordinate_offset: mathutils.Vector | None = None, total_items: int = 1, unit_scale: float | None = None, should_force_faceted_brep: bool = False, should_force_triangulation: bool = False, should_generate_uvs: bool = False, ifc_representation_class: Literal['IfcExtrudedAreaSolid/IfcRectangleProfileDef', 'IfcExtrudedAreaSolid/IfcCircleProfileDef', 'IfcExtrudedAreaSolid/IfcArbitraryClosedProfileDef', 'IfcExtrudedAreaSolid/IfcArbitraryProfileDefWithVoids', 'IfcExtrudedAreaSolid/IfcMaterialProfileSetUsage', 'IfcGeometricCurveSet/IfcTextLiteral', 'IfcTextLiteral'] | None = None, profile_set_usage: ifcopenshell.entity_instance | None = None, text_literal: ifcopenshell.entity_instance | None = None) ifcopenshell.entity_instance ¶
- ifcopenshell.api.geometry.add_representation.EPSILON = 1e-06¶
- ifcopenshell.api.geometry.add_representation.X_AXIS¶
- ifcopenshell.api.geometry.add_representation.Z_AXIS¶