@bldrs-ai/conway 1.389.1221 → 1.394.1504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -22
- package/compiled/Dist/ConwayGeomWasmNode.js +0 -0
- package/compiled/Dist/ConwayGeomWasmNodeMT.js +0 -0
- package/compiled/Dist/ConwayGeomWasmWeb.js +0 -0
- package/compiled/Dist/ConwayGeomWasmWebMT.js +1 -1
- package/compiled/Dist/ConwayGeomWasmWebMT.wasm +0 -0
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmNode.js +0 -0
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmNodeMT.js +0 -0
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmWeb.js +0 -0
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmWebMT.js +1 -1
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmWebMT.wasm +0 -0
- package/compiled/dependencies/conway-geom/interface/conway_geometry.d.ts +19 -0
- package/compiled/dependencies/conway-geom/interface/conway_geometry.d.ts.map +1 -1
- package/compiled/dependencies/conway-geom/interface/conway_geometry.js +17 -0
- package/compiled/dependencies/conway-geom/interface/parameters/surface_object.d.ts +6 -0
- package/compiled/dependencies/conway-geom/interface/parameters/surface_object.d.ts.map +1 -1
- package/compiled/examples/browser-bundled.cjs +1569 -51
- package/compiled/examples/cli-bundled.cjs +2790 -436
- package/compiled/examples/cli-step-bundled.cjs +1904 -229
- package/compiled/examples/validator-bundled.cjs +1569 -51
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_curve.gen.d.ts +2 -2
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_curve.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_curve.gen.js +2 -2
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_surface.gen.d.ts +3 -3
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_surface.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/b_spline_surface.gen.js +3 -3
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/composite_curve.gen.d.ts +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/composite_curve.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/composite_curve.gen.js +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_2d.gen.d.ts +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_2d.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_2d.gen.js +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_3d.gen.d.ts +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_3d.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_curve_3d.gen.js +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_surface.gen.d.ts +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_surface.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/offset_surface.gen.js +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/presentation_style_assignment.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/presentation_style_assignment.gen.js +2 -2
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/schema_ap214.gen.js +11 -11
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/shape_aspect.gen.d.ts +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/shape_aspect.gen.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/AP214E3_2010_gen/shape_aspect.gen.js +1 -1
- package/compiled/src/AP214E3_2010/ap214_command_line_main.js +7 -3
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.d.ts +181 -7
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.js +906 -137
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.test.js +10 -2
- package/compiled/src/AP214E3_2010/ap214_logical_attribute.test.d.ts +2 -0
- package/compiled/src/AP214E3_2010/ap214_logical_attribute.test.d.ts.map +1 -0
- package/compiled/src/AP214E3_2010/ap214_logical_attribute.test.js +114 -0
- package/compiled/src/AP214E3_2010/ap214_model_geometry.d.ts +6 -0
- package/compiled/src/AP214E3_2010/ap214_model_geometry.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/ap214_model_geometry.js +9 -0
- package/compiled/src/AP214E3_2010/ap214_pcurve_basis_surfaces.test.d.ts +2 -0
- package/compiled/src/AP214E3_2010/ap214_pcurve_basis_surfaces.test.d.ts.map +1 -0
- package/compiled/src/AP214E3_2010/ap214_pcurve_basis_surfaces.test.js +233 -0
- package/compiled/src/AP214E3_2010/ap214_sphere_vertex_loop.test.d.ts +2 -0
- package/compiled/src/AP214E3_2010/ap214_sphere_vertex_loop.test.d.ts.map +1 -0
- package/compiled/src/AP214E3_2010/ap214_sphere_vertex_loop.test.js +147 -0
- package/compiled/src/AP214E3_2010/ap214_step_model.d.ts +2 -1
- package/compiled/src/AP214E3_2010/ap214_step_model.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/ap214_step_model.js +1 -1
- package/compiled/src/AP214E3_2010/ap214_typed_select_enum.test.d.ts +2 -0
- package/compiled/src/AP214E3_2010/ap214_typed_select_enum.test.d.ts.map +1 -0
- package/compiled/src/AP214E3_2010/ap214_typed_select_enum.test.js +65 -0
- package/compiled/src/AP214E3_2010/ap214_unit_scale.test.d.ts +2 -0
- package/compiled/src/AP214E3_2010/ap214_unit_scale.test.d.ts.map +1 -0
- package/compiled/src/AP214E3_2010/ap214_unit_scale.test.js +111 -0
- package/compiled/src/compat/web-ifc/ap214_streamed_open.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ap214_streamed_open.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ap214_streamed_open.test.js +190 -0
- package/compiled/src/compat/web-ifc/coordination_export_order.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/coordination_export_order.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/coordination_export_order.test.js +110 -0
- package/compiled/src/compat/web-ifc/coordination_f64.d.ts +165 -0
- package/compiled/src/compat/web-ifc/coordination_f64.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/coordination_f64.js +286 -0
- package/compiled/src/compat/web-ifc/coordination_f64.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/coordination_f64.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/coordination_f64.test.js +225 -0
- package/compiled/src/compat/web-ifc/ifc_api.d.ts +154 -0
- package/compiled/src/compat/web-ifc/ifc_api.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api.js +211 -3
- package/compiled/src/compat/web-ifc/ifc_api_deferred_open.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ifc_api_deferred_open.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_deferred_open.test.js +288 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough.d.ts +39 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.d.ts +30 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.js +83 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_channel.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_channel.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_channel.test.js +383 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_coordination.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_coordination.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_preview_coordination.test.js +124 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.d.ts +132 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.js +488 -92
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts +268 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.js +996 -149
- package/compiled/src/compat/web-ifc/ifc_api_streamed_open.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ifc_api_streamed_open.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_streamed_open.test.js +129 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.d.ts +134 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.js +933 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/spatial_imposter.test.js +467 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.d.ts +187 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.js +524 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/store_preview_channel.test.js +234 -0
- package/compiled/src/compat/web-ifc/streamed_preview_channel.d.ts +306 -0
- package/compiled/src/compat/web-ifc/streamed_preview_channel.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/streamed_preview_channel.js +580 -0
- package/compiled/src/compat/web-ifc/web_wasm_directory.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/web_wasm_directory.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/web_wasm_directory.test.js +22 -0
- package/compiled/src/core/composed_model_skeleton.d.ts +63 -0
- package/compiled/src/core/composed_model_skeleton.d.ts.map +1 -0
- package/compiled/src/core/composed_model_skeleton.js +66 -0
- package/compiled/src/core/composed_model_skeleton.test.d.ts +2 -0
- package/compiled/src/core/composed_model_skeleton.test.d.ts.map +1 -0
- package/compiled/src/core/composed_model_skeleton.test.js +69 -0
- package/compiled/src/core/demand_geometry_queue.d.ts +147 -0
- package/compiled/src/core/demand_geometry_queue.d.ts.map +1 -0
- package/compiled/src/core/demand_geometry_queue.js +223 -0
- package/compiled/src/core/demand_geometry_queue.test.d.ts +2 -0
- package/compiled/src/core/demand_geometry_queue.test.d.ts.map +1 -0
- package/compiled/src/core/demand_geometry_queue.test.js +133 -0
- package/compiled/src/core/demand_residency_pump.d.ts +93 -0
- package/compiled/src/core/demand_residency_pump.d.ts.map +1 -0
- package/compiled/src/core/demand_residency_pump.js +120 -0
- package/compiled/src/core/demand_residency_pump.test.d.ts +2 -0
- package/compiled/src/core/demand_residency_pump.test.d.ts.map +1 -0
- package/compiled/src/core/demand_residency_pump.test.js +148 -0
- package/compiled/src/core/geometry_tile_bindings.d.ts +110 -0
- package/compiled/src/core/geometry_tile_bindings.d.ts.map +1 -0
- package/compiled/src/core/geometry_tile_bindings.js +76 -0
- package/compiled/src/core/geometry_tile_bindings.test.d.ts +2 -0
- package/compiled/src/core/geometry_tile_bindings.test.d.ts.map +1 -0
- package/compiled/src/core/geometry_tile_bindings.test.js +211 -0
- package/compiled/src/core/geometry_tile_pool.d.ts +99 -0
- package/compiled/src/core/geometry_tile_pool.d.ts.map +1 -0
- package/compiled/src/core/geometry_tile_pool.js +104 -0
- package/compiled/src/core/geometry_tile_pool.test.d.ts +2 -0
- package/compiled/src/core/geometry_tile_pool.test.d.ts.map +1 -0
- package/compiled/src/core/geometry_tile_pool.test.js +180 -0
- package/compiled/src/core/mem/chunked_pool.d.ts +116 -0
- package/compiled/src/core/mem/chunked_pool.d.ts.map +1 -0
- package/compiled/src/core/mem/chunked_pool.js +149 -0
- package/compiled/src/core/mem/chunked_pool.test.d.ts +2 -0
- package/compiled/src/core/mem/chunked_pool.test.d.ts.map +1 -0
- package/compiled/src/core/mem/chunked_pool.test.js +63 -0
- package/compiled/src/core/mem/shared_asset_pool.d.ts +82 -0
- package/compiled/src/core/mem/shared_asset_pool.d.ts.map +1 -0
- package/compiled/src/core/mem/shared_asset_pool.js +113 -0
- package/compiled/src/core/mem/shared_asset_pool.test.d.ts +2 -0
- package/compiled/src/core/mem/shared_asset_pool.test.d.ts.map +1 -0
- package/compiled/src/core/mem/shared_asset_pool.test.js +49 -0
- package/compiled/src/core/model_registry.d.ts +87 -0
- package/compiled/src/core/model_registry.d.ts.map +1 -0
- package/compiled/src/core/model_registry.js +101 -0
- package/compiled/src/core/model_registry.test.d.ts +2 -0
- package/compiled/src/core/model_registry.test.d.ts.map +1 -0
- package/compiled/src/core/model_registry.test.js +60 -0
- package/compiled/src/core/model_uri.d.ts +57 -0
- package/compiled/src/core/model_uri.d.ts.map +1 -0
- package/compiled/src/core/model_uri.js +101 -0
- package/compiled/src/core/model_uri.test.d.ts +2 -0
- package/compiled/src/core/model_uri.test.d.ts.map +1 -0
- package/compiled/src/core/model_uri.test.js +49 -0
- package/compiled/src/core/progress.d.ts +16 -2
- package/compiled/src/core/progress.d.ts.map +1 -1
- package/compiled/src/core/progress.js +31 -5
- package/compiled/src/core/progress.test.js +11 -2
- package/compiled/src/core/progress_log.d.ts +1 -0
- package/compiled/src/core/progress_log.d.ts.map +1 -1
- package/compiled/src/core/progress_log.js +7 -2
- package/compiled/src/core/progress_log.test.js +21 -0
- package/compiled/src/core/shared_byte_budget.d.ts +60 -0
- package/compiled/src/core/shared_byte_budget.d.ts.map +1 -0
- package/compiled/src/core/shared_byte_budget.js +85 -0
- package/compiled/src/core/shared_byte_budget.test.d.ts +2 -0
- package/compiled/src/core/shared_byte_budget.test.d.ts.map +1 -0
- package/compiled/src/core/shared_byte_budget.test.js +55 -0
- package/compiled/src/core/wasm_heap.d.ts +208 -0
- package/compiled/src/core/wasm_heap.d.ts.map +1 -0
- package/compiled/src/core/wasm_heap.js +417 -0
- package/compiled/src/core/wasm_heap.test.d.ts +2 -0
- package/compiled/src/core/wasm_heap.test.d.ts.map +1 -0
- package/compiled/src/core/wasm_heap.test.js +546 -0
- package/compiled/src/demand/index.d.ts +23 -0
- package/compiled/src/demand/index.d.ts.map +1 -0
- package/compiled/src/demand/index.js +22 -0
- package/compiled/src/ifc/ifc4_gen/IfcLogical.gen.d.ts +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcLogical.gen.d.ts.map +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcLogical.gen.js +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcPresentationStyleAssignment.gen.d.ts.map +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcPresentationStyleAssignment.gen.js +2 -2
- package/compiled/src/ifc/ifc4_gen/IfcRelInterferesElements.gen.d.ts +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcRelInterferesElements.gen.d.ts.map +1 -1
- package/compiled/src/ifc/ifc4_gen/IfcRelInterferesElements.gen.js +1 -1
- package/compiled/src/ifc/ifc4_gen/schema_ifc.gen.js +2 -2
- package/compiled/src/ifc/ifc_demand_extraction.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_demand_extraction.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_demand_extraction.test.js +251 -0
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts +367 -6
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_geometry_extraction.js +1322 -389
- package/compiled/src/ifc/ifc_grid_placement.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_grid_placement.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_grid_placement.test.js +261 -0
- package/compiled/src/ifc/ifc_model_geometry.d.ts +12 -0
- package/compiled/src/ifc/ifc_model_geometry.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_model_geometry.js +15 -0
- package/compiled/src/ifc/ifc_regression_batch_main.js +210 -12
- package/compiled/src/ifc/ifc_spatial_skeleton.d.ts +145 -0
- package/compiled/src/ifc/ifc_spatial_skeleton.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_spatial_skeleton.js +266 -0
- package/compiled/src/ifc/ifc_spatial_skeleton.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_spatial_skeleton.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_spatial_skeleton.test.js +199 -0
- package/compiled/src/ifc/ifc_step_model.d.ts +6 -2
- package/compiled/src/ifc/ifc_step_model.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_step_model.js +6 -4
- package/compiled/src/ifc/ifc_step_parser.d.ts +58 -0
- package/compiled/src/ifc/ifc_step_parser.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_step_parser.js +64 -0
- package/compiled/src/ifc/ifc_stream_model.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_stream_model.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_stream_model.test.js +70 -0
- package/compiled/src/ifc/ifc_stream_open.d.ts +131 -0
- package/compiled/src/ifc/ifc_stream_open.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_stream_open.js +116 -0
- package/compiled/src/ifc/ifc_stream_open.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_stream_open.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_stream_open.test.js +230 -0
- package/compiled/src/ifc/ifc_tile_extractor.d.ts +84 -0
- package/compiled/src/ifc/ifc_tile_extractor.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_tile_extractor.js +134 -0
- package/compiled/src/ifc/ifc_tile_extractor.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_tile_extractor.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_tile_extractor.test.js +118 -0
- package/compiled/src/ifc/ifc_typed_select_enum.test.d.ts +2 -0
- package/compiled/src/ifc/ifc_typed_select_enum.test.d.ts.map +1 -0
- package/compiled/src/ifc/ifc_typed_select_enum.test.js +60 -0
- package/compiled/src/index.d.ts +21 -1
- package/compiled/src/index.d.ts.map +1 -1
- package/compiled/src/index.js +28 -1
- package/compiled/src/logging/logger.d.ts +16 -2
- package/compiled/src/logging/logger.d.ts.map +1 -1
- package/compiled/src/logging/logger.js +34 -7
- package/compiled/src/logging/logger.test.js +30 -0
- package/compiled/src/mem/index.d.ts +17 -0
- package/compiled/src/mem/index.d.ts.map +1 -0
- package/compiled/src/mem/index.js +16 -0
- package/compiled/src/namespace_surface.test.d.ts +2 -0
- package/compiled/src/namespace_surface.test.d.ts.map +1 -0
- package/compiled/src/namespace_surface.test.js +43 -0
- package/compiled/src/parsing/parsing_buffer.d.ts +23 -0
- package/compiled/src/parsing/parsing_buffer.d.ts.map +1 -1
- package/compiled/src/parsing/parsing_buffer.js +31 -0
- package/compiled/src/scripts/model_report_displacement.test.d.ts +2 -0
- package/compiled/src/scripts/model_report_displacement.test.d.ts.map +1 -0
- package/compiled/src/scripts/model_report_displacement.test.js +104 -0
- package/compiled/src/scripts/render_glb_paths.test.d.ts +2 -0
- package/compiled/src/scripts/render_glb_paths.test.d.ts.map +1 -0
- package/compiled/src/scripts/render_glb_paths.test.js +115 -0
- package/compiled/src/step/indexing/step_type_indexer.d.ts +20 -0
- package/compiled/src/step/indexing/step_type_indexer.d.ts.map +1 -1
- package/compiled/src/step/indexing/step_type_indexer.js +67 -0
- package/compiled/src/step/parsing/byte_source.d.ts +153 -0
- package/compiled/src/step/parsing/byte_source.d.ts.map +1 -0
- package/compiled/src/step/parsing/byte_source.js +106 -0
- package/compiled/src/step/parsing/byte_source.test.d.ts +2 -0
- package/compiled/src/step/parsing/byte_source.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/byte_source.test.js +47 -0
- package/compiled/src/step/parsing/byte_source_node.d.ts +41 -0
- package/compiled/src/step/parsing/byte_source_node.d.ts.map +1 -0
- package/compiled/src/step/parsing/byte_source_node.js +54 -0
- package/compiled/src/step/parsing/columnar_index.d.ts +103 -0
- package/compiled/src/step/parsing/columnar_index.d.ts.map +1 -0
- package/compiled/src/step/parsing/columnar_index.js +224 -0
- package/compiled/src/step/parsing/columnar_index.test.d.ts +2 -0
- package/compiled/src/step/parsing/columnar_index.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/columnar_index.test.js +155 -0
- package/compiled/src/step/parsing/cross_reference_registry.d.ts +95 -0
- package/compiled/src/step/parsing/cross_reference_registry.d.ts.map +1 -0
- package/compiled/src/step/parsing/cross_reference_registry.js +91 -0
- package/compiled/src/step/parsing/cross_reference_registry.test.d.ts +2 -0
- package/compiled/src/step/parsing/cross_reference_registry.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/cross_reference_registry.test.js +66 -0
- package/compiled/src/step/parsing/decode_utf8.d.ts +15 -0
- package/compiled/src/step/parsing/decode_utf8.d.ts.map +1 -1
- package/compiled/src/step/parsing/decode_utf8.js +28 -0
- package/compiled/src/step/parsing/express_ref_scan.d.ts +20 -0
- package/compiled/src/step/parsing/express_ref_scan.d.ts.map +1 -0
- package/compiled/src/step/parsing/express_ref_scan.js +91 -0
- package/compiled/src/step/parsing/express_ref_scan.test.d.ts +2 -0
- package/compiled/src/step/parsing/express_ref_scan.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/express_ref_scan.test.js +28 -0
- package/compiled/src/step/parsing/index_sidecar.d.ts +81 -0
- package/compiled/src/step/parsing/index_sidecar.d.ts.map +1 -0
- package/compiled/src/step/parsing/index_sidecar.js +283 -0
- package/compiled/src/step/parsing/index_sidecar.test.d.ts +2 -0
- package/compiled/src/step/parsing/index_sidecar.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/index_sidecar.test.js +122 -0
- package/compiled/src/step/parsing/inf_recovery_index.test.d.ts +2 -0
- package/compiled/src/step/parsing/inf_recovery_index.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/inf_recovery_index.test.js +108 -0
- package/compiled/src/step/parsing/prefix_type_index.d.ts +124 -0
- package/compiled/src/step/parsing/prefix_type_index.d.ts.map +1 -0
- package/compiled/src/step/parsing/prefix_type_index.js +207 -0
- package/compiled/src/step/parsing/prefix_type_index.test.d.ts +2 -0
- package/compiled/src/step/parsing/prefix_type_index.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/prefix_type_index.test.js +298 -0
- package/compiled/src/step/parsing/range_byte_source.d.ts +69 -0
- package/compiled/src/step/parsing/range_byte_source.d.ts.map +1 -0
- package/compiled/src/step/parsing/range_byte_source.js +78 -0
- package/compiled/src/step/parsing/range_byte_source.test.d.ts +2 -0
- package/compiled/src/step/parsing/range_byte_source.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/range_byte_source.test.js +70 -0
- package/compiled/src/step/parsing/record_event.d.ts +23 -0
- package/compiled/src/step/parsing/record_event.d.ts.map +1 -0
- package/compiled/src/step/parsing/record_event.js +1 -0
- package/compiled/src/step/parsing/record_field_cursor.d.ts +94 -0
- package/compiled/src/step/parsing/record_field_cursor.d.ts.map +1 -0
- package/compiled/src/step/parsing/record_field_cursor.js +189 -0
- package/compiled/src/step/parsing/step_deserialization_functions.d.ts +29 -0
- package/compiled/src/step/parsing/step_deserialization_functions.d.ts.map +1 -1
- package/compiled/src/step/parsing/step_deserialization_functions.js +45 -0
- package/compiled/src/step/parsing/step_deserialization_functions.test.js +59 -1
- package/compiled/src/step/parsing/step_parser.d.ts +66 -1
- package/compiled/src/step/parsing/step_parser.d.ts.map +1 -1
- package/compiled/src/step/parsing/step_parser.js +164 -10
- package/compiled/src/step/parsing/step_string_parser.js +8 -8
- package/compiled/src/step/parsing/streaming_index_builder.d.ts +141 -0
- package/compiled/src/step/parsing/streaming_index_builder.d.ts.map +1 -0
- package/compiled/src/step/parsing/streaming_index_builder.js +280 -0
- package/compiled/src/step/parsing/streaming_index_builder.test.d.ts +2 -0
- package/compiled/src/step/parsing/streaming_index_builder.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/streaming_index_builder.test.js +107 -0
- package/compiled/src/step/parsing/streaming_index_builder_async.test.d.ts +2 -0
- package/compiled/src/step/parsing/streaming_index_builder_async.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/streaming_index_builder_async.test.js +109 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.d.ts +71 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.d.ts.map +1 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.js +88 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.test.d.ts +2 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/streaming_record_dispatcher.test.js +66 -0
- package/compiled/src/step/parsing/uint32_sink.d.ts +72 -0
- package/compiled/src/step/parsing/uint32_sink.d.ts.map +1 -0
- package/compiled/src/step/parsing/uint32_sink.js +180 -0
- package/compiled/src/step/parsing/uint32_sink.test.d.ts +2 -0
- package/compiled/src/step/parsing/uint32_sink.test.d.ts.map +1 -0
- package/compiled/src/step/parsing/uint32_sink.test.js +199 -0
- package/compiled/src/step/step_buffer_provider.d.ts +48 -3
- package/compiled/src/step/step_buffer_provider.d.ts.map +1 -1
- package/compiled/src/step/step_buffer_provider.js +60 -11
- package/compiled/src/step/step_buffer_provider.test.js +14 -0
- package/compiled/src/step/step_entity_base.d.ts +65 -3
- package/compiled/src/step/step_entity_base.d.ts.map +1 -1
- package/compiled/src/step/step_entity_base.js +135 -3
- package/compiled/src/step/step_model_base.d.ts +221 -8
- package/compiled/src/step/step_model_base.d.ts.map +1 -1
- package/compiled/src/step/step_model_base.js +542 -7
- package/compiled/src/stream/index.d.ts +34 -0
- package/compiled/src/stream/index.d.ts.map +1 -0
- package/compiled/src/stream/index.js +32 -0
- package/compiled/src/version/version.js +1 -1
- package/compiled/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -1
|
@@ -15,8 +15,8 @@ export declare class b_spline_curve extends bounded_curve {
|
|
|
15
15
|
get degree(): number;
|
|
16
16
|
get control_points_list(): Array<cartesian_point>;
|
|
17
17
|
get curve_form(): b_spline_curve_form;
|
|
18
|
-
get closed_curve(): boolean;
|
|
19
|
-
get self_intersect(): boolean;
|
|
18
|
+
get closed_curve(): boolean | null;
|
|
19
|
+
get self_intersect(): boolean | null;
|
|
20
20
|
get upper_index_on_control_points(): number;
|
|
21
21
|
get control_points(): Array<cartesian_point>;
|
|
22
22
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b_spline_curve.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/b_spline_curve.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAsC,MAAM,SAAS,CAAA;AAajF,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,cAAe,SAAQ,aAAa;IAChD,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,oBAAoB,CAAC,CAAyB;IACtD,OAAO,CAAC,WAAW,CAAC,CAAsB;IAC1C,OAAO,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"b_spline_curve.gen.d.ts","sourceRo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AAgB,CACpB;CAClC"}
|
|
@@ -50,13 +50,13 @@ export class b_spline_curve extends bounded_curve {
|
|
|
50
50
|
}
|
|
51
51
|
get closed_curve() {
|
|
52
52
|
if (this.closed_curve_ === void 0) {
|
|
53
|
-
this.closed_curve_ = this.
|
|
53
|
+
this.closed_curve_ = this.extractLogical(4, 1, 4, false);
|
|
54
54
|
}
|
|
55
55
|
return this.closed_curve_;
|
|
56
56
|
}
|
|
57
57
|
get self_intersect() {
|
|
58
58
|
if (this.self_intersect_ === void 0) {
|
|
59
|
-
this.self_intersect_ = this.
|
|
59
|
+
this.self_intersect_ = this.extractLogical(5, 1, 4, false);
|
|
60
60
|
}
|
|
61
61
|
return this.self_intersect_;
|
|
62
62
|
}
|
|
@@ -18,9 +18,9 @@ export declare class b_spline_surface extends bounded_surface {
|
|
|
18
18
|
get v_degree(): number;
|
|
19
19
|
get control_points_list(): Array<Array<cartesian_point>>;
|
|
20
20
|
get surface_form(): b_spline_surface_form;
|
|
21
|
-
get u_closed(): boolean;
|
|
22
|
-
get v_closed(): boolean;
|
|
23
|
-
get self_intersect(): boolean;
|
|
21
|
+
get u_closed(): boolean | null;
|
|
22
|
+
get v_closed(): boolean | null;
|
|
23
|
+
get self_intersect(): boolean | null;
|
|
24
24
|
get u_upper(): number;
|
|
25
25
|
get v_upper(): number;
|
|
26
26
|
get control_points(): Array<Array<cartesian_point>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b_spline_surface.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/b_spline_surface.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,qBAAqB,EAAwC,MAAM,SAAS,CAAA;AAarF,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA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e,CAAC,CAAC,CAyC/D;IAED,IAAW,YAAY,IAAK,qBAAqB,CAMhD;IAED,IAAW,QAAQ,IAAK,OAAO,GAAG,IAAI,CAMrC;IAED,IAAW,QAAQ,IAAK,OAAO,GAAG,IAAI,CAMrC;IAED,IAAW,cAAc,IAAK,OAAO,GAAG,IAAI,CAM3C;IAED,IAAW,OAAO,IAAK,MAAM,CAE5B;IAED,IAAW,OAAO,IAAK,MAAM,CAE5B;IAED,IAAW,cAAc,IAAK,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAE1D;gBAEC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAClE,KAAK,EAAE,aAAa,CAAE,gBAAgB,EAAE,cAAc,CAAE,gBAAgB,CAAE,CAAE,EAC5E,cAAc,CAAC,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAAE;IAqBpE,gBAAuB,KAAK,qBACoK;IAEhM,gBAAuB,YAAY,EAAE,gBAAgB,CAClB;CACpC"}
|
|
@@ -64,19 +64,19 @@ export class b_spline_surface extends bounded_surface {
|
|
|
64
64
|
}
|
|
65
65
|
get u_closed() {
|
|
66
66
|
if (this.u_closed_ === void 0) {
|
|
67
|
-
this.u_closed_ = this.
|
|
67
|
+
this.u_closed_ = this.extractLogical(5, 1, 4, false);
|
|
68
68
|
}
|
|
69
69
|
return this.u_closed_;
|
|
70
70
|
}
|
|
71
71
|
get v_closed() {
|
|
72
72
|
if (this.v_closed_ === void 0) {
|
|
73
|
-
this.v_closed_ = this.
|
|
73
|
+
this.v_closed_ = this.extractLogical(6, 1, 4, false);
|
|
74
74
|
}
|
|
75
75
|
return this.v_closed_;
|
|
76
76
|
}
|
|
77
77
|
get self_intersect() {
|
|
78
78
|
if (this.self_intersect_ === void 0) {
|
|
79
|
-
this.self_intersect_ = this.
|
|
79
|
+
this.self_intersect_ = this.extractLogical(7, 1, 4, false);
|
|
80
80
|
}
|
|
81
81
|
return this.self_intersect_;
|
|
82
82
|
}
|
|
@@ -9,7 +9,7 @@ export declare class composite_curve extends bounded_curve {
|
|
|
9
9
|
private segments_?;
|
|
10
10
|
private self_intersect_?;
|
|
11
11
|
get segments(): Array<composite_curve_segment>;
|
|
12
|
-
get self_intersect(): boolean;
|
|
12
|
+
get self_intersect(): boolean | null;
|
|
13
13
|
get n_segments(): number;
|
|
14
14
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
15
15
|
static readonly query: EntityTypesAP214[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composite_curve.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/composite_curve.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAUjD,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,eAAgB,SAAQ,aAAa;IACjD,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,SAAS,CAAC,CAAiC;IACnD,OAAO,CAAC,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"composite_curve.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/composite_curve.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAUjD,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,eAAgB,SAAQ,aAAa;IACjD,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,SAAS,CAAC,CAAiC;IACnD,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEzC,IAAW,QAAQ,IAAK,KAAK,CAAC,uBAAuB,CAAC,CA+BrD;IAED,IAAW,cAAc,IAAK,OAAO,GAAG,IAAI,CAM3C;IAED,IAAW,UAAU,IAAK,MAAM,CAE/B;gBAGC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAClE,KAAK,EAAE,aAAa,CAAE,gBAAgB,EAAE,cAAc,CAAE,gBAAgB,CAAE,CAAE,EAC5E,cAAc,CAAC,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAAE;IAqBpE,gBAAuB,KAAK,qBACU;IAEtC,gBAAuB,YAAY,EAAE,gBAAgB,CACnB;CACnC"}
|
|
@@ -36,7 +36,7 @@ export class composite_curve extends bounded_curve {
|
|
|
36
36
|
}
|
|
37
37
|
get self_intersect() {
|
|
38
38
|
if (this.self_intersect_ === void 0) {
|
|
39
|
-
this.self_intersect_ = this.
|
|
39
|
+
this.self_intersect_ = this.extractLogical(2, 1, 4, false);
|
|
40
40
|
}
|
|
41
41
|
return this.self_intersect_;
|
|
42
42
|
}
|
|
@@ -10,7 +10,7 @@ export declare class offset_curve_2d extends curve {
|
|
|
10
10
|
private self_intersect_?;
|
|
11
11
|
get basis_curve(): curve;
|
|
12
12
|
get distance(): number;
|
|
13
|
-
get self_intersect(): boolean;
|
|
13
|
+
get self_intersect(): boolean | null;
|
|
14
14
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
15
15
|
static readonly query: EntityTypesAP214[];
|
|
16
16
|
static readonly expectedType: EntityTypesAP214;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offset_curve_2d.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/offset_curve_2d.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAI/B,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,eAAgB,SAAQ,KAAK;IACzC,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,YAAY,CAAC,CAAQ;IAC7B,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"offset_curve_2d.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/offset_curve_2d.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAI/B,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,eAAgB,SAAQ,KAAK;IACzC,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,YAAY,CAAC,CAAQ;IAC7B,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEzC,IAAW,WAAW,IAAK,KAAK,CAM/B;IAED,IAAW,QAAQ,IAAK,MAAM,CAM7B;IAED,IAAW,cAAc,IAAK,OAAO,GAAG,IAAI,CAM3C;gBAEC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAClE,KAAK,EAAE,aAAa,CAAE,gBAAgB,EAAE,cAAc,CAAE,gBAAgB,CAAE,CAAE,EAC5E,cAAc,CAAC,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAAE;IAqBpE,gBAAuB,KAAK,qBACU;IAEtC,gBAAuB,YAAY,EAAE,gBAAgB,CACnB;CACnC"}
|
|
@@ -21,7 +21,7 @@ export class offset_curve_2d extends curve {
|
|
|
21
21
|
}
|
|
22
22
|
get self_intersect() {
|
|
23
23
|
if (this.self_intersect_ === void 0) {
|
|
24
|
-
this.self_intersect_ = this.
|
|
24
|
+
this.self_intersect_ = this.extractLogical(3, 1, 3, false);
|
|
25
25
|
}
|
|
26
26
|
return this.self_intersect_;
|
|
27
27
|
}
|
|
@@ -12,7 +12,7 @@ export declare class offset_curve_3d extends curve {
|
|
|
12
12
|
private ref_direction_?;
|
|
13
13
|
get basis_curve(): curve;
|
|
14
14
|
get distance(): number;
|
|
15
|
-
get self_intersect(): boolean;
|
|
15
|
+
get self_intersect(): boolean | null;
|
|
16
16
|
get ref_direction(): direction;
|
|
17
17
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
18
18
|
static readonly query: EntityTypesAP214[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offset_curve_3d.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/offset_curve_3d.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGnC,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2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E,EAAE;IAqBpE,gBAAuB,KAAK,qBACU;IAEtC,gBAAuB,YAAY,EAAE,gBAAgB,CACnB;CACnC"}
|
|
@@ -22,7 +22,7 @@ export class offset_curve_3d extends curve {
|
|
|
22
22
|
}
|
|
23
23
|
get self_intersect() {
|
|
24
24
|
if (this.self_intersect_ === void 0) {
|
|
25
|
-
this.self_intersect_ = this.
|
|
25
|
+
this.self_intersect_ = this.extractLogical(3, 1, 3, false);
|
|
26
26
|
}
|
|
27
27
|
return this.self_intersect_;
|
|
28
28
|
}
|
|
@@ -10,7 +10,7 @@ export declare class offset_surface extends surface {
|
|
|
10
10
|
private self_intersect_?;
|
|
11
11
|
get basis_surface(): surface;
|
|
12
12
|
get distance(): number;
|
|
13
|
-
get self_intersect(): boolean;
|
|
13
|
+
get self_intersect(): boolean | null;
|
|
14
14
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
15
15
|
static readonly query: EntityTypesAP214[];
|
|
16
16
|
static readonly expectedType: EntityTypesAP214;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offset_surface.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/offset_surface.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAIjC,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,cAAe,SAAQ,OAAO;IAC1C,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,cAAc,CAAC,CAAU;IACjC,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"offset_surface.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/offset_surface.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAIjC,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,cAAe,SAAQ,OAAO;IAC1C,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,cAAc,CAAC,CAAU;IACjC,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEzC,IAAW,aAAa,IAAK,OAAO,CAMnC;IAED,IAAW,QAAQ,IAAK,MAAM,CAM7B;IAED,IAAW,cAAc,IAAK,OAAO,GAAG,IAAI,CAM3C;gBAEC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAClE,KAAK,EAAE,aAAa,CAAE,gBAAgB,EAAE,cAAc,CAAE,gBAAgB,CAAE,CAAE,EAC5E,cAAc,CAAC,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAAE;IAqBpE,gBAAuB,KAAK,qBACS;IAErC,gBAAuB,YAAY,EAAE,gBAAgB,CACpB;CAClC"}
|
|
@@ -21,7 +21,7 @@ export class offset_surface extends surface {
|
|
|
21
21
|
}
|
|
22
22
|
get self_intersect() {
|
|
23
23
|
if (this.self_intersect_ === void 0) {
|
|
24
|
-
this.self_intersect_ = this.
|
|
24
|
+
this.self_intersect_ = this.extractLogical(3, 1, 3, false);
|
|
25
25
|
}
|
|
26
26
|
return this.self_intersect_;
|
|
27
27
|
}
|
package/compiled/src/AP214E3_2010/AP214E3_2010_gen/presentation_style_assignment.gen.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation_style_assignment.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/presentation_style_assignment.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,UAAU,EAA6B,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"presentation_style_assignment.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/presentation_style_assignment.gen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,UAAU,EAA6B,MAAM,SAAS,CAAA;AAU/D,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,6BAA8B,SAAQ,YAAY;IAC9D,IAAW,IAAI,IAAI,gBAAgB,CAElC;IACD,OAAO,CAAC,OAAO,CAAC,CAA0M;IAE1N,IAAW,MAAM,IAAK,KAAK,CAAC,8BAA8B,GAAG,WAAW,GAAG,WAAW,GAAG,mBAAmB,GAAG,YAAY,GAAG,eAAe,GAAG,UAAU,GAAG,uBAAuB,GAAG,wBAAwB,GAAG,UAAU,CAAC,CAsC5N;gBAEC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAClE,KAAK,EAAE,aAAa,CAAE,gBAAgB,EAAE,cAAc,CAAE,gBAAgB,CAAE,CAAE,EAC5E,cAAc,CAAC,EAAE,2BAA2B,CAAE,gBAAgB,CAAE,EAAE;IAqBpE,gBAAuB,KAAK,qBACwB;IAEpD,gBAAuB,YAAY,EAAE,gBAAgB,CACL;CACjD"}
|
|
@@ -9,7 +9,7 @@ import { text_style } from "./index.js";
|
|
|
9
9
|
import { approximation_tolerance } from "./index.js";
|
|
10
10
|
import { externally_defined_style } from "./index.js";
|
|
11
11
|
import { null_style, null_styleDeserializeStep } from "./index.js";
|
|
12
|
-
import { stepExtractOptional, stepExtractArrayToken, stepExtractArrayBegin, skipValue, } from "../../step/parsing/step_deserialization_functions.js";
|
|
12
|
+
import { stepExtractOptional, stepEnterTypedValue, stepExtractArrayToken, stepExtractArrayBegin, skipValue, } from "../../step/parsing/step_deserialization_functions.js";
|
|
13
13
|
/* This is generated code, don't modify */
|
|
14
14
|
import EntityTypesAP214 from "./entity_types_ap214.gen.js";
|
|
15
15
|
///**
|
|
@@ -30,7 +30,7 @@ export class presentation_style_assignment extends founded_item {
|
|
|
30
30
|
let signedCursor0 = stepExtractArrayBegin(buffer, cursor, endCursor);
|
|
31
31
|
cursor = Math.abs(signedCursor0);
|
|
32
32
|
while (signedCursor0 >= 0) {
|
|
33
|
-
const value1Untyped = this.extractBufferReference(buffer, cursor, endCursor) ?? null_styleDeserializeStep(buffer, cursor, endCursor);
|
|
33
|
+
const value1Untyped = this.extractBufferReference(buffer, cursor, endCursor) ?? null_styleDeserializeStep(buffer, stepEnterTypedValue(buffer, cursor, endCursor, "NULL_STYLE"), endCursor);
|
|
34
34
|
if (!(value1Untyped instanceof pre_defined_presentation_style) && !(value1Untyped instanceof point_style) && !(value1Untyped instanceof curve_style) && !(value1Untyped instanceof surface_style_usage) && !(value1Untyped instanceof symbol_style) && !(value1Untyped instanceof fill_area_style) && !(value1Untyped instanceof text_style) && !(value1Untyped instanceof approximation_tolerance) && !(value1Untyped instanceof externally_defined_style) && value1Untyped !== null_style.NULL) {
|
|
35
35
|
throw new Error("Value in select must be populated");
|
|
36
36
|
}
|
|
@@ -5396,7 +5396,7 @@ let descriptions = [
|
|
|
5396
5396
|
},
|
|
5397
5397
|
product_definitional: {
|
|
5398
5398
|
kind: f.BOOLEAN,
|
|
5399
|
-
optional:
|
|
5399
|
+
optional: true,
|
|
5400
5400
|
derived: false,
|
|
5401
5401
|
offset: 3,
|
|
5402
5402
|
},
|
|
@@ -10805,13 +10805,13 @@ let descriptions = [
|
|
|
10805
10805
|
},
|
|
10806
10806
|
closed_curve: {
|
|
10807
10807
|
kind: f.BOOLEAN,
|
|
10808
|
-
optional:
|
|
10808
|
+
optional: true,
|
|
10809
10809
|
derived: false,
|
|
10810
10810
|
offset: 4,
|
|
10811
10811
|
},
|
|
10812
10812
|
self_intersect: {
|
|
10813
10813
|
kind: f.BOOLEAN,
|
|
10814
|
-
optional:
|
|
10814
|
+
optional: true,
|
|
10815
10815
|
derived: false,
|
|
10816
10816
|
offset: 5,
|
|
10817
10817
|
},
|
|
@@ -10940,19 +10940,19 @@ let descriptions = [
|
|
|
10940
10940
|
},
|
|
10941
10941
|
u_closed: {
|
|
10942
10942
|
kind: f.BOOLEAN,
|
|
10943
|
-
optional:
|
|
10943
|
+
optional: true,
|
|
10944
10944
|
derived: false,
|
|
10945
10945
|
offset: 5,
|
|
10946
10946
|
},
|
|
10947
10947
|
v_closed: {
|
|
10948
10948
|
kind: f.BOOLEAN,
|
|
10949
|
-
optional:
|
|
10949
|
+
optional: true,
|
|
10950
10950
|
derived: false,
|
|
10951
10951
|
offset: 6,
|
|
10952
10952
|
},
|
|
10953
10953
|
self_intersect: {
|
|
10954
10954
|
kind: f.BOOLEAN,
|
|
10955
|
-
optional:
|
|
10955
|
+
optional: true,
|
|
10956
10956
|
derived: false,
|
|
10957
10957
|
offset: 7,
|
|
10958
10958
|
},
|
|
@@ -11761,7 +11761,7 @@ let descriptions = [
|
|
|
11761
11761
|
},
|
|
11762
11762
|
self_intersect: {
|
|
11763
11763
|
kind: f.BOOLEAN,
|
|
11764
|
-
optional:
|
|
11764
|
+
optional: true,
|
|
11765
11765
|
derived: false,
|
|
11766
11766
|
offset: 2,
|
|
11767
11767
|
},
|
|
@@ -11772,7 +11772,7 @@ let descriptions = [
|
|
|
11772
11772
|
},
|
|
11773
11773
|
closed_curve: {
|
|
11774
11774
|
kind: f.BOOLEAN,
|
|
11775
|
-
optional:
|
|
11775
|
+
optional: true,
|
|
11776
11776
|
derived: true,
|
|
11777
11777
|
},
|
|
11778
11778
|
},
|
|
@@ -14158,7 +14158,7 @@ let descriptions = [
|
|
|
14158
14158
|
},
|
|
14159
14159
|
self_intersect: {
|
|
14160
14160
|
kind: f.BOOLEAN,
|
|
14161
|
-
optional:
|
|
14161
|
+
optional: true,
|
|
14162
14162
|
derived: false,
|
|
14163
14163
|
offset: 3,
|
|
14164
14164
|
},
|
|
@@ -14185,7 +14185,7 @@ let descriptions = [
|
|
|
14185
14185
|
},
|
|
14186
14186
|
self_intersect: {
|
|
14187
14187
|
kind: f.BOOLEAN,
|
|
14188
|
-
optional:
|
|
14188
|
+
optional: true,
|
|
14189
14189
|
derived: false,
|
|
14190
14190
|
offset: 3,
|
|
14191
14191
|
},
|
|
@@ -20683,7 +20683,7 @@ let descriptions = [
|
|
|
20683
20683
|
},
|
|
20684
20684
|
self_intersect: {
|
|
20685
20685
|
kind: f.BOOLEAN,
|
|
20686
|
-
optional:
|
|
20686
|
+
optional: true,
|
|
20687
20687
|
derived: false,
|
|
20688
20688
|
offset: 3,
|
|
20689
20689
|
},
|
|
@@ -12,7 +12,7 @@ export declare class shape_aspect extends StepEntityBase<EntityTypesAP214> {
|
|
|
12
12
|
get name(): string;
|
|
13
13
|
get description(): string | null;
|
|
14
14
|
get of_shape(): product_definition_shape;
|
|
15
|
-
get product_definitional(): boolean;
|
|
15
|
+
get product_definitional(): boolean | null;
|
|
16
16
|
get id(): string;
|
|
17
17
|
constructor(localID: number, internalReference: StepEntityInternalReference<EntityTypesAP214>, model: StepModelBase<EntityTypesAP214, StepEntityBase<EntityTypesAP214>>, multiReference?: StepEntityInternalReference<EntityTypesAP214>[]);
|
|
18
18
|
static readonly query: EntityTypesAP214[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape_aspect.gen.d.ts","sourceRoot":"","sources":["../../../../src/AP214E3_2010/AP214E3_2010_gen/shape_aspect.gen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAOlD,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,2BAA2B,MAAM,2CAA2C,CAAA;AACnF,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAItD,qBAAc,YAAa,SAAQ,cAAc,CAAE,gBAAgB,CAAE;IACnE,IAAW,IAAI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;CAChC"}
|
|
@@ -29,7 +29,7 @@ export class shape_aspect extends StepEntityBase {
|
|
|
29
29
|
}
|
|
30
30
|
get product_definitional() {
|
|
31
31
|
if (this.product_definitional_ === void 0) {
|
|
32
|
-
this.product_definitional_ = this.
|
|
32
|
+
this.product_definitional_ = this.extractLogical(3, 0, 0, false);
|
|
33
33
|
}
|
|
34
34
|
return this.product_definitional_;
|
|
35
35
|
}
|
|
@@ -8,6 +8,7 @@ import AP214StepParser from "./ap214_step_parser.js";
|
|
|
8
8
|
import { ConwayGeometry } from "../../dependencies/conway-geom/index.js";
|
|
9
9
|
import GeometryAggregator from "../core/geometry_aggregator.js";
|
|
10
10
|
import GeometryConvertor from "../core/geometry_convertor.js";
|
|
11
|
+
import { wasmHeapByteLength } from "../core/wasm_heap.js";
|
|
11
12
|
import { AP214GeometryExtraction } from "./ap214_geometry_extraction.js";
|
|
12
13
|
import { ExtractResult } from "../core/shared_constants.js";
|
|
13
14
|
import Environment from "../utilities/environment.js";
|
|
@@ -404,9 +405,12 @@ function geometryExtraction(model, limitCSGDepth = true, maxCSGDepth = 20) {
|
|
|
404
405
|
statistics?.setGeometryTime(executionTimeInMs);
|
|
405
406
|
const ONE_KB = 1024;
|
|
406
407
|
const ONE_MB = ONE_KB * ONE_KB;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
408
|
+
// Measured through wasmHeapByteLength rather than HEAPU8.length: the
|
|
409
|
+
// module's cached view can be a growth step behind the real heap (#485), and
|
|
410
|
+
// a high-water figure that under-reports is worse than none.
|
|
411
|
+
const wasmModule = conwaywasm.wasmModule;
|
|
412
|
+
if (wasmModule !== void 0) {
|
|
413
|
+
Logger.info(`WASM heap high-water: ${(wasmHeapByteLength(wasmModule) / ONE_MB).toFixed(1)} MB`);
|
|
410
414
|
}
|
|
411
415
|
statistics?.setGeometryMemory(conwayModel.model.geometry.calculateGeometrySize() / (ONE_MB));
|
|
412
416
|
model.invalidate(true);
|
|
@@ -84,6 +84,14 @@ export declare class AP214GeometryExtraction {
|
|
|
84
84
|
* or the maximum level for CSG memoization if it is not.
|
|
85
85
|
* @param lowMemoryMode Whether to enable low memory mode for geometry extraction.
|
|
86
86
|
*/
|
|
87
|
+
/** When true, per-record recoverable errors (dangling styled items,
|
|
88
|
+
* child-representation failures, stack mismatches) are not logged.
|
|
89
|
+
* Set by the parse-time preview channel's throwaway PREFIX
|
|
90
|
+
* extractions, where truncated-tail records make those errors
|
|
91
|
+
* expected by construction — several generations over a large STEP
|
|
92
|
+
* file otherwise flood the load report with thousands of warnings
|
|
93
|
+
* (Arty: 5k+). Durable extractions keep full logging. */
|
|
94
|
+
quietRecoverableLogging: boolean;
|
|
87
95
|
constructor(conwayModel: ConwayGeometry, model: AP214StepModel, limitCSGDepth?: boolean, csgDepthLimit?: number, lowMemoryMode?: boolean);
|
|
88
96
|
/**
|
|
89
97
|
* Flush any staged (deferred) face tessellation jobs, tessellating them in
|
|
@@ -285,7 +293,7 @@ export declare class AP214GeometryExtraction {
|
|
|
285
293
|
* @param array
|
|
286
294
|
* @return {number} Pointer/memory address
|
|
287
295
|
*/
|
|
288
|
-
arrayToWasmHeap(array: Float32Array | Uint32Array): any;
|
|
296
|
+
arrayToWasmHeap(array: Float32Array | Float64Array | Uint32Array): any;
|
|
289
297
|
/**
|
|
290
298
|
* @param array
|
|
291
299
|
* @return {Uint8Array}
|
|
@@ -378,9 +386,77 @@ export declare class AP214GeometryExtraction {
|
|
|
378
386
|
*/
|
|
379
387
|
extractCompositeCurve(from: composite_curve, parentSense?: boolean, close?: boolean): CurveObject | undefined;
|
|
380
388
|
/**
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
389
|
+
* The ISO 10303-42 parameterization of an elementary basis surface,
|
|
390
|
+
* expressed in that surface's placement-local frame. Writing C for the
|
|
391
|
+
* placement's origin, x/y/z for its axes, R (and r) for the radii and a for
|
|
392
|
+
* conical_surface.semi_angle, the standard's forms are
|
|
393
|
+
*
|
|
394
|
+
* plane s(u,v) = C + u x + v y
|
|
395
|
+
* cylindrical s(u,v) = C + R((cos u) x + (sin u) y) + v z
|
|
396
|
+
* conical s(u,v) = C + (R + v tan a)((cos u) x + (sin u) y) + v z
|
|
397
|
+
* spherical s(u,v) = C + R cos v ((cos u) x + (sin u) y) + R sin v z
|
|
398
|
+
* toroidal s(u,v) = C + (R + r cos v)((cos u) x + (sin u) y)
|
|
399
|
+
* + r sin v z
|
|
400
|
+
*
|
|
401
|
+
* Note v on a sphere is a LATITUDE in [-90, 90] degrees, not a polar angle,
|
|
402
|
+
* and v on a torus runs around the tube. Those four are quoted here from the
|
|
403
|
+
* entities IFC adopted verbatim from this part - IfcPlane,
|
|
404
|
+
* IfcCylindricalSurface, IfcSphericalSurface and IfcToroidalSurface, each
|
|
405
|
+
* carrying its equation under "Definition according to ISO/CD 10303-42" plus
|
|
406
|
+
* "Entity adapted from <name> defined in ISO 10303-42".
|
|
407
|
+
*
|
|
408
|
+
* The cone is the one worth stating explicitly, because it is the arm a
|
|
409
|
+
* review of this code read the other way (bldrs-ai/conway#520): its v is
|
|
410
|
+
* distance along the AXIS, so the radius grows by tan a per unit v - not
|
|
411
|
+
* distance along the generator, which would grow it by sin a. Two STEP readers
|
|
412
|
+
* settle it the same way. Open CASCADE parameterizes its own
|
|
413
|
+
* Geom_ConicalSurface along the generator, P(u,v) = O + (R + v sin a)(...)
|
|
414
|
+
* + v cos a z, and therefore rescales v by 1/cos(a) coming in from STEP and
|
|
415
|
+
* by cos(a) going back out - GeomConvert_Units::DegreeToRadian and
|
|
416
|
+
* ::RadianToDegree, which is exactly the path its STEP reader pushes pcurves
|
|
417
|
+
* through (StepToTopoDS_TranslateEdge::MakePCurve). truck's STEP reader
|
|
418
|
+
* builds the cone by revolving the line (R,0,0) + t (tan a, 0, 1), which is
|
|
419
|
+
* the form above with t = v.
|
|
420
|
+
*
|
|
421
|
+
* conway-geom tessellates the same surfaces by inverting these formulae:
|
|
422
|
+
* TriangulateCylindricalSurface, TriangulateSphericalSurface,
|
|
423
|
+
* TriangulateConicalSurface and TriangulateToroidalSurface (conway-geom
|
|
424
|
+
* `conway_geometry/operations/mesh_utils.h`) recover (theta, height) or
|
|
425
|
+
* (theta, latitude) from world points, so a pcurve mapped here lands on the
|
|
426
|
+
* same surface the face it bounds is triangulated on. It differs in one
|
|
427
|
+
* deliberate way, on the cone's sign - see that arm.
|
|
428
|
+
*
|
|
429
|
+
* Angular parameters are radians taken straight from the file. Conway
|
|
430
|
+
* applies no plane-angle unit conversion anywhere on the STEP path -
|
|
431
|
+
* conical_surface.semi_angle reaches conway-geom raw in
|
|
432
|
+
* extractConicalSurface - so a degree-unit export is wrong here in exactly
|
|
433
|
+
* the same way, and consistently so.
|
|
434
|
+
*
|
|
435
|
+
* @param from The basis surface.
|
|
436
|
+
* @return {SurfaceParameterization | undefined} The parameterization, or
|
|
437
|
+
* undefined for a surface that has none here (b-spline and swept surfaces).
|
|
438
|
+
*/
|
|
439
|
+
private surfaceParameterization;
|
|
440
|
+
/**
|
|
441
|
+
* Extract a pcurve: a curve given in the parameter space of a basis surface
|
|
442
|
+
* (ISO 10303-42). The parameter curve is extracted through the ordinary
|
|
443
|
+
* curve path and its (u, v) samples are pushed through the basis surface's
|
|
444
|
+
* parameterization, giving the 3D polyline every other arm of extractCurve
|
|
445
|
+
* hands back.
|
|
446
|
+
*
|
|
447
|
+
* Extent comes from the parameter curve itself: a bounded one (polyline,
|
|
448
|
+
* b-spline, trimmed or composite curve) carries its own, and an unbounded
|
|
449
|
+
* 2D LINE or CIRCLE gets whatever the ordinary line/circle extraction gives
|
|
450
|
+
* it. An EDGE_CURVE's vertex trims are 3D and are deliberately NOT inverted
|
|
451
|
+
* back into parameter space here, so an edge whose parameter curve is an
|
|
452
|
+
* unbounded LINE comes out at that line's own extent rather than the edge's
|
|
453
|
+
* - see https://github.com/bldrs-ai/conway/issues/505.
|
|
454
|
+
*
|
|
455
|
+
* @param from The pcurve to extract.
|
|
456
|
+
* @return {CurveObject | undefined} The mapped 3D curve, or undefined where
|
|
457
|
+
* the basis surface has no parameterization here or the parameter curve
|
|
458
|
+
* yields no points. Both are warned about naming the type responsible, so
|
|
459
|
+
* the residue is measurable per surface family rather than as one row.
|
|
384
460
|
*/
|
|
385
461
|
extractPScurve1(from: pcurve): CurveObject | undefined;
|
|
386
462
|
/**
|
|
@@ -431,13 +507,18 @@ export declare class AP214GeometryExtraction {
|
|
|
431
507
|
*/
|
|
432
508
|
extractAP214TrimmedCurve(from: trimmed_curve, parentSense?: boolean, isEdge?: boolean): CurveObject | undefined;
|
|
433
509
|
/**
|
|
434
|
-
* Efficiently flatten the points into a
|
|
510
|
+
* Efficiently flatten the points into a Float64Array.
|
|
511
|
+
*
|
|
512
|
+
* Float64 because getPolyCurve, the only consumer, reinterprets the buffer
|
|
513
|
+
* as `const double *`: Float32 elements decode there as unrelated numbers
|
|
514
|
+
* (and read twice as many bytes as were written). Matches the IFC side's
|
|
515
|
+
* helper of the same name.
|
|
435
516
|
*
|
|
436
517
|
* @param points - Array of AP214CartesianPoint
|
|
437
518
|
* @param dimensions - dimensions of points
|
|
438
|
-
* @return {
|
|
519
|
+
* @return {Float64Array}
|
|
439
520
|
*/
|
|
440
|
-
|
|
521
|
+
flattenPointsToFloat64Array(points: cartesian_point[], dimensions: number): Float64Array;
|
|
441
522
|
/**
|
|
442
523
|
*
|
|
443
524
|
* @param from
|
|
@@ -743,6 +824,30 @@ export declare class AP214GeometryExtraction {
|
|
|
743
824
|
* @return A freshly allocated 4x4 with the basis scaled.
|
|
744
825
|
*/
|
|
745
826
|
private uniformScaleBasis;
|
|
827
|
+
/**
|
|
828
|
+
* The root transform taking a shape representation's own length unit
|
|
829
|
+
* into conway's world space.
|
|
830
|
+
*
|
|
831
|
+
* World space is METRES. That convention is set by the IFC path, which
|
|
832
|
+
* folds `linearScalingFactor` — metres per file unit — into its
|
|
833
|
+
* coordination matrix (`compat/web-ifc/coordination_f64.ts`). STEP
|
|
834
|
+
* geometry is emitted in raw file coordinates instead, so the
|
|
835
|
+
* whole-model unit conversion has to ride on this root transform.
|
|
836
|
+
*
|
|
837
|
+
* The factor is therefore metres-per-file-unit itself: a millimetre
|
|
838
|
+
* file scales by 1e-3. It is NOT the reciprocal — using `1 / unitInM`
|
|
839
|
+
* put every millimetre STEP model into world space 1e6x too large,
|
|
840
|
+
* and 1e6x out of step with any IFC model federated beside it. That
|
|
841
|
+
* went unseen because Share frames the camera from the model's own
|
|
842
|
+
* bounds, which absorbs a uniform scale error, and because the
|
|
843
|
+
* regression digests hash geometry in file coordinates, which this
|
|
844
|
+
* transform never touches.
|
|
845
|
+
* See https://github.com/bldrs-ai/conway/issues/458.
|
|
846
|
+
*
|
|
847
|
+
* @param shapeRepresentation The representation whose unit context to read.
|
|
848
|
+
* @return The scale transform, or undefined if no length unit is declared.
|
|
849
|
+
*/
|
|
850
|
+
private rootUnitScaleTransform;
|
|
746
851
|
/**
|
|
747
852
|
*
|
|
748
853
|
*/
|
|
@@ -762,6 +867,75 @@ export declare class AP214GeometryExtraction {
|
|
|
762
867
|
* @return {[ExtractResult, AP214SceneBuilder]} - Enum indicating extraction result
|
|
763
868
|
* + Geometry array
|
|
764
869
|
*/
|
|
870
|
+
/**
|
|
871
|
+
* Prepare per-unit demand extraction (STEP demand parity phase 2)
|
|
872
|
+
* without executing any geometry work: builds the assembly tree and
|
|
873
|
+
* thunks exactly like the whole-model walk, but the root executions
|
|
874
|
+
* are captured as an ordered list of UNITS — a childless root is one
|
|
875
|
+
* unit; a root with children is flattened one level (one unit per
|
|
876
|
+
* immediate child, in order, then one for the root's own items), so
|
|
877
|
+
* single-root assemblies still pump progressively per part. Executing
|
|
878
|
+
* every unit in order then calling {@link finishDemandExtraction}
|
|
879
|
+
* reproduces the whole-model walk exactly — the classic
|
|
880
|
+
* {@link extractAP214GeometryData} runs through this same path.
|
|
881
|
+
* Idempotent.
|
|
882
|
+
*/
|
|
883
|
+
prepareDemandExtraction(): void;
|
|
884
|
+
private demandUnits_?;
|
|
885
|
+
private demandCursor_;
|
|
886
|
+
private demandMemoizationRestore_?;
|
|
887
|
+
/**
|
|
888
|
+
* Total demand units (see prepareDemandExtraction).
|
|
889
|
+
*
|
|
890
|
+
* @return {number} The unit count (0 before preparation).
|
|
891
|
+
*/
|
|
892
|
+
get demandUnitCount(): number;
|
|
893
|
+
/**
|
|
894
|
+
* Units already executed by extractDemandUnitBatch.
|
|
895
|
+
*
|
|
896
|
+
* @return {number} The cursor.
|
|
897
|
+
*/
|
|
898
|
+
get demandUnitCursor(): number;
|
|
899
|
+
/**
|
|
900
|
+
* Advance the unit cursor WITHOUT executing (parse-time preview
|
|
901
|
+
* generations resume a global ordinal on a fresh prefix extraction —
|
|
902
|
+
* earlier units were already emitted from earlier generations).
|
|
903
|
+
*
|
|
904
|
+
* @param count Units to skip.
|
|
905
|
+
*/
|
|
906
|
+
skipDemandUnits(count: number): void;
|
|
907
|
+
/**
|
|
908
|
+
* Execute the next `count` demand units (STEP demand parity phase 2)
|
|
909
|
+
* — the per-unit pump behind the shim's ExtractGeometryBatch for
|
|
910
|
+
* AP214 models. Staged face tessellation is finalized after every
|
|
911
|
+
* batch so captured geometry is complete and readable.
|
|
912
|
+
*
|
|
913
|
+
* @param count Max units to execute this call (min 1).
|
|
914
|
+
* @return {number} Units actually executed.
|
|
915
|
+
*/
|
|
916
|
+
extractDemandUnitBatch(count: number): number;
|
|
917
|
+
/**
|
|
918
|
+
* Complete a demand extraction after every unit has run: final staged
|
|
919
|
+
* tessellation, temporaries cleanup, point-buffer release and
|
|
920
|
+
* memoization restore — the tail the whole-model walk runs.
|
|
921
|
+
*
|
|
922
|
+
* @return {[ExtractResult, AP214SceneBuilder, AP214ProductShapeMap]}
|
|
923
|
+
* The completed extraction result.
|
|
924
|
+
*/
|
|
925
|
+
finishDemandExtraction(): [
|
|
926
|
+
ExtractResult,
|
|
927
|
+
AP214SceneBuilder,
|
|
928
|
+
AP214ProductShapeMap
|
|
929
|
+
];
|
|
930
|
+
/**
|
|
931
|
+
* Whole-model extraction: prepare + run every demand unit + finish —
|
|
932
|
+
* a single code path with the per-unit pump, so pumped and classic
|
|
933
|
+
* extractions are identical by construction.
|
|
934
|
+
*
|
|
935
|
+
* @param logTime Unused (kept for call compatibility).
|
|
936
|
+
* @return {[ExtractResult, AP214SceneBuilder, AP214ProductShapeMap]}
|
|
937
|
+
* The completed extraction result.
|
|
938
|
+
*/
|
|
765
939
|
extractAP214GeometryData(logTime?: boolean): [
|
|
766
940
|
ExtractResult,
|
|
767
941
|
AP214SceneBuilder,
|