scriptup 2026.0.1 → 2026.0.2
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.
- checksums.yaml +4 -4
- data/README.md +43 -24
- data/ext/arc_curve.c +50 -0
- data/ext/attribute_dictionaries.c +49 -32
- data/ext/attribute_dictionary.c +54 -127
- data/ext/axes.c +79 -0
- data/ext/behavior.c +100 -9
- data/ext/bounding_box.c +195 -0
- data/ext/camera.c +178 -0
- data/ext/classifications.c +85 -0
- data/ext/color.c +91 -163
- data/ext/component_definition.c +78 -162
- data/ext/component_instance.c +88 -9
- data/ext/construction.c +59 -0
- data/ext/curve.c +87 -0
- data/ext/definition_list.c +89 -109
- data/ext/depend +1 -0
- data/ext/drawing_element.c +96 -117
- data/ext/edge.c +147 -0
- data/ext/edge_use.c +37 -0
- data/ext/entities.c +573 -16
- data/ext/entities_builder.c +145 -0
- data/ext/entity.c +175 -215
- data/ext/environments.c +149 -0
- data/ext/extconf.rb +54 -10
- data/ext/face.c +331 -0
- data/ext/geom.c +172 -0
- data/ext/group.c +86 -0
- data/ext/helpers.c +244 -0
- data/ext/image.c +182 -0
- data/ext/image_rep.c +158 -0
- data/ext/instance_path.c +185 -0
- data/ext/lat_long.c +88 -0
- data/ext/layer.c +98 -0
- data/ext/layer_folder.c +99 -0
- data/ext/layers.c +122 -0
- data/ext/length.c +253 -0
- data/ext/line_styles.c +60 -0
- data/ext/loop.c +24 -0
- data/ext/material.c +144 -197
- data/ext/materials.c +49 -60
- data/ext/model.c +232 -26
- data/ext/options_store.c +188 -0
- data/ext/page.c +168 -0
- data/ext/pages.c +135 -0
- data/ext/point2d.c +195 -0
- data/ext/point3d.c +340 -0
- data/ext/polygon_mesh.c +253 -0
- data/ext/scriptup.h +279 -0
- data/ext/section_plane.c +44 -0
- data/ext/sketchup.c +102 -76
- data/ext/styles.c +91 -0
- data/ext/text.c +135 -0
- data/ext/texture.c +74 -83
- data/ext/texture_writer.c +104 -0
- data/ext/transformation.c +309 -0
- data/ext/transformation2d.c +190 -0
- data/ext/uv_helper.c +41 -0
- data/ext/vector2d.c +238 -0
- data/ext/vector3d.c +294 -0
- data/ext/vertex.c +67 -0
- data/lib/sketchup.rb +2 -2
- data/sig/_top_level.rbs +188 -0
- data/sig/array.rbs +52 -0
- data/sig/geom/bounding_box.rbs +28 -0
- data/sig/geom/bounds2d.rbs +20 -0
- data/sig/geom/lat_long.rbs +13 -0
- data/sig/geom/oriented_bounds2d.rbs +10 -0
- data/sig/geom/point2d.rbs +32 -0
- data/sig/geom/point3d.rbs +46 -0
- data/sig/geom/polygon_mesh.rbs +35 -0
- data/sig/geom/transformation.rbs +44 -0
- data/sig/geom/transformation2d.rbs +26 -0
- data/sig/geom/utm.rbs +14 -0
- data/sig/geom/vector2d.rbs +40 -0
- data/sig/geom/vector3d.rbs +49 -0
- data/sig/geom.rbs +25 -0
- data/sig/language_handler.rbs +8 -0
- data/sig/layout/angular_dimension.rbs +32 -0
- data/sig/layout/auto_text_definition.rbs +73 -0
- data/sig/layout/auto_text_definitions.rbs +15 -0
- data/sig/layout/connection_point.rbs +6 -0
- data/sig/layout/dictionary.rbs +18 -0
- data/sig/layout/document.rbs +61 -0
- data/sig/layout/ellipse.rbs +5 -0
- data/sig/layout/entities.rbs +10 -0
- data/sig/layout/entity.rbs +28 -0
- data/sig/layout/formatted_text.rbs +30 -0
- data/sig/layout/grid.rbs +24 -0
- data/sig/layout/group.rbs +17 -0
- data/sig/layout/image.rbs +7 -0
- data/sig/layout/label.rbs +31 -0
- data/sig/layout/layer.rbs +21 -0
- data/sig/layout/layer_instance.rbs +9 -0
- data/sig/layout/layers.rbs +18 -0
- data/sig/layout/linear_dimension.rbs +39 -0
- data/sig/layout/locked_entity_error.rbs +4 -0
- data/sig/layout/locked_layer_error.rbs +4 -0
- data/sig/layout/page.rbs +20 -0
- data/sig/layout/page_info.rbs +37 -0
- data/sig/layout/pages.rbs +17 -0
- data/sig/layout/path.rbs +34 -0
- data/sig/layout/rectangle.rbs +15 -0
- data/sig/layout/reference_entity.rbs +7 -0
- data/sig/layout/sketch_up_model.rbs +54 -0
- data/sig/layout/style.rbs +150 -0
- data/sig/layout/table.rbs +17 -0
- data/sig/layout/table_cell.rbs +13 -0
- data/sig/layout/table_column.rbs +10 -0
- data/sig/layout/table_row.rbs +10 -0
- data/sig/layout.rbs +4 -0
- data/sig/length.rbs +37 -0
- data/sig/numeric.rbs +23 -0
- data/sig/sketchup/animation.rbs +8 -0
- data/sig/sketchup/app_observer.rbs +11 -0
- data/sig/sketchup/arc_curve.rbs +14 -0
- data/sig/sketchup/attribute_dictionaries.rbs +11 -0
- data/sig/sketchup/attribute_dictionary.rbs +18 -0
- data/sig/sketchup/axes.rbs +13 -0
- data/sig/sketchup/behavior.rbs +19 -0
- data/sig/sketchup/camera.rbs +33 -0
- data/sig/sketchup/classification_schema.rbs +8 -0
- data/sig/sketchup/classifications.rbs +12 -0
- data/sig/sketchup/color.rbs +22 -0
- data/sig/sketchup/component_definition.rbs +43 -0
- data/sig/sketchup/component_instance.rbs +32 -0
- data/sig/sketchup/console.rbs +8 -0
- data/sig/sketchup/construction_line.rbs +17 -0
- data/sig/sketchup/construction_point.rbs +5 -0
- data/sig/sketchup/curve.rbs +13 -0
- data/sig/sketchup/definition_list.rbs +26 -0
- data/sig/sketchup/definition_observer.rbs +6 -0
- data/sig/sketchup/definitions_observer.rbs +8 -0
- data/sig/sketchup/dimension.rbs +18 -0
- data/sig/sketchup/dimension_linear.rbs +24 -0
- data/sig/sketchup/dimension_observer.rbs +5 -0
- data/sig/sketchup/dimension_radial.rbs +9 -0
- data/sig/sketchup/drawingelement.rbs +18 -0
- data/sig/sketchup/edge.rbs +24 -0
- data/sig/sketchup/edge_use.rbs +13 -0
- data/sig/sketchup/entities.rbs +61 -0
- data/sig/sketchup/entities_builder.rbs +15 -0
- data/sig/sketchup/entities_observer.rbs +9 -0
- data/sig/sketchup/entity.rbs +21 -0
- data/sig/sketchup/entity_observer.rbs +6 -0
- data/sig/sketchup/environment.rbs +25 -0
- data/sig/sketchup/environments.rbs +18 -0
- data/sig/sketchup/environments_observer.rbs +8 -0
- data/sig/sketchup/extensions_manager.rbs +11 -0
- data/sig/sketchup/face.rbs +44 -0
- data/sig/sketchup/frame_change_observer.rbs +5 -0
- data/sig/sketchup/group.rbs +38 -0
- data/sig/sketchup/http/request.rbs +17 -0
- data/sig/sketchup/http/response.rbs +7 -0
- data/sig/sketchup/http.rbs +27 -0
- data/sig/sketchup/image.rbs +23 -0
- data/sig/sketchup/image_rep.rbs +17 -0
- data/sig/sketchup/importer.rbs +14 -0
- data/sig/sketchup/input_point.rbs +25 -0
- data/sig/sketchup/instance_observer.rbs +6 -0
- data/sig/sketchup/instance_path.rbs +20 -0
- data/sig/sketchup/layer.rbs +20 -0
- data/sig/sketchup/layer_folder.rbs +26 -0
- data/sig/sketchup/layers.rbs +30 -0
- data/sig/sketchup/layers_observer.rbs +13 -0
- data/sig/sketchup/licensing/extension_license.rbs +8 -0
- data/sig/sketchup/licensing.rbs +15 -0
- data/sig/sketchup/line_style.rbs +5 -0
- data/sig/sketchup/line_styles.rbs +13 -0
- data/sig/sketchup/load_handler.rbs +8 -0
- data/sig/sketchup/loop.rbs +10 -0
- data/sig/sketchup/material.rbs +74 -0
- data/sig/sketchup/materials.rbs +22 -0
- data/sig/sketchup/materials_observer.rbs +10 -0
- data/sig/sketchup/menu.rbs +9 -0
- data/sig/sketchup/model.rbs +105 -0
- data/sig/sketchup/model_observer.rbs +23 -0
- data/sig/sketchup/options_manager.rbs +12 -0
- data/sig/sketchup/options_provider.rbs +23 -0
- data/sig/sketchup/options_provider_observer.rbs +5 -0
- data/sig/sketchup/overlay.rbs +21 -0
- data/sig/sketchup/overlays_manager.rbs +10 -0
- data/sig/sketchup/page.rbs +55 -0
- data/sig/sketchup/pages.rbs +25 -0
- data/sig/sketchup/pages_observer.rbs +7 -0
- data/sig/sketchup/pick_helper.rbs +28 -0
- data/sig/sketchup/regional_settings.rbs +7 -0
- data/sig/sketchup/rendering_options.rbs +89 -0
- data/sig/sketchup/rendering_options_observer.rbs +5 -0
- data/sig/sketchup/section_plane.rbs +12 -0
- data/sig/sketchup/selection.rbs +31 -0
- data/sig/sketchup/selection_observer.rbs +8 -0
- data/sig/sketchup/set.rbs +15 -0
- data/sig/sketchup/shadow_info.rbs +18 -0
- data/sig/sketchup/shadow_info_observer.rbs +5 -0
- data/sig/sketchup/skp.rbs +5 -0
- data/sig/sketchup/snap.rbs +10 -0
- data/sig/sketchup/style.rbs +9 -0
- data/sig/sketchup/styles.rbs +21 -0
- data/sig/sketchup/text.rbs +22 -0
- data/sig/sketchup/texture.rbs +14 -0
- data/sig/sketchup/texture_writer.rbs +14 -0
- data/sig/sketchup/tool.rbs +45 -0
- data/sig/sketchup/tools.rbs +14 -0
- data/sig/sketchup/tools_observer.rbs +6 -0
- data/sig/sketchup/uv_helper.rbs +6 -0
- data/sig/sketchup/vertex.rbs +11 -0
- data/sig/sketchup/view.rbs +87 -0
- data/sig/sketchup/view_observer.rbs +6 -0
- data/sig/sketchup.rbs +137 -0
- data/sig/sketchup_extension.rbs +23 -0
- data/sig/string.rbs +5 -0
- data/sig/ui/command.rbs +20 -0
- data/sig/ui/html_dialog.rbs +29 -0
- data/sig/ui/notification.rbs +16 -0
- data/sig/ui/toolbar.rbs +18 -0
- data/sig/ui/web_dialog.rbs +38 -0
- data/sig/ui.rbs +66 -0
- metadata +204 -287
- data/ext/attribute_dictionaries.h +0 -8
- data/ext/attribute_dictionary.h +0 -8
- data/ext/behavior.h +0 -8
- data/ext/color.h +0 -8
- data/ext/component_definition.h +0 -8
- data/ext/component_instance.h +0 -8
- data/ext/definition_list.h +0 -8
- data/ext/drawing_element.h +0 -8
- data/ext/entities.h +0 -8
- data/ext/entity.h +0 -8
- data/ext/material.h +0 -8
- data/ext/materials.h +0 -8
- data/ext/model.h +0 -8
- data/ext/not_implemented.c +0 -88
- data/ext/not_implemented.h +0 -20
- data/ext/sketchup.h +0 -9
- data/ext/texture.h +0 -8
- data/ext/typed_value.c +0 -84
- data/ext/typed_value.h +0 -11
- data/ext/utils.h +0 -111
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeometry.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeoutils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonImage.dylib +0 -4
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonPreferences.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUnits.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUtils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonZip.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -262
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -629
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -224
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -879
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -189
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environment.h +0 -382
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environments.h +0 -133
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -702
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -695
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -245
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -289
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -797
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1826
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -180
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -1016
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/snap.h +0 -183
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/space.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -192
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -392
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -380
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -891
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutView.dll +0 -4
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
- data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
- data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
- data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
- data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
- data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
- data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -937
- data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -402
- data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
- data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
- data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
- data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -244
- data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
- data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
- data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
- data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
- data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -508
- data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -331
- data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
- data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
- data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
- data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
- data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -681
- data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1116
- data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -472
- data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
- data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
- data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -262
- data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
- data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
- data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
- data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
- data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
- data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
- data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
- data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -629
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
- data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
- data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -224
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
- data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -879
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -189
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environment.h +0 -382
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environments.h +0 -133
- data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -702
- data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -695
- data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -245
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -289
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
- data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
- data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
- data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -797
- data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1826
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
- data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
- data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
- data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -1016
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
- data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
- data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
- data/sketchup-sdk-win/headers/SketchUpAPI/model/snap.h +0 -183
- data/sketchup-sdk-win/headers/SketchUpAPI/model/space.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
- data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -192
- data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -392
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -380
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
- data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
- data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::DefinitionList < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::ComponentDefinition]
|
|
5
|
+
def []: (Integer index) -> Sketchup::ComponentDefinition?
|
|
6
|
+
| (String name) -> Sketchup::ComponentDefinition?
|
|
7
|
+
| (String guid) -> Sketchup::ComponentDefinition?
|
|
8
|
+
def add: (String def_name) -> Sketchup::ComponentDefinition
|
|
9
|
+
def add_observer: (untyped observer) -> bool
|
|
10
|
+
def at: (Integer index) -> Sketchup::ComponentDefinition?
|
|
11
|
+
| (String name) -> Sketchup::ComponentDefinition?
|
|
12
|
+
| (String guid) -> Sketchup::ComponentDefinition?
|
|
13
|
+
def count: () -> Integer
|
|
14
|
+
def each: () ?{ (Sketchup::ComponentDefinition definition) -> untyped } -> Sketchup::ComponentDefinition
|
|
15
|
+
def import: (String path, ?Hash[untyped, untyped] options) -> Sketchup::ComponentDefinition
|
|
16
|
+
def length: () -> Integer
|
|
17
|
+
def load: (String path) -> untyped
|
|
18
|
+
| (String path, ?allow_newer: bool) -> untyped
|
|
19
|
+
def load_from_url: (String url) -> untyped
|
|
20
|
+
| (String url, untyped load_handler) -> untyped
|
|
21
|
+
def purge_unused: () -> Sketchup::DefinitionList
|
|
22
|
+
def remove: (Sketchup::ComponentDefinition definition) -> bool
|
|
23
|
+
def remove_observer: (untyped observer) -> bool
|
|
24
|
+
def size: () -> Integer
|
|
25
|
+
def unique_name: (String base_name) -> String
|
|
26
|
+
end
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::DefinitionObserver < Sketchup::EntityObserver
|
|
4
|
+
def onComponentInstanceAdded: (Sketchup::ComponentDefinition definition, Sketchup::ComponentInstance) -> nil
|
|
5
|
+
def onComponentInstanceRemoved: (Sketchup::ComponentDefinition definition, Sketchup::ComponentInstance) -> nil
|
|
6
|
+
end
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::DefinitionsObserver
|
|
4
|
+
def onComponentAdded: (Sketchup::DefinitionList definitions, Sketchup::ComponentDefinition definition) -> nil
|
|
5
|
+
def onComponentPropertiesChanged: (Sketchup::DefinitionList definitions, Sketchup::ComponentDefinition definition) -> nil
|
|
6
|
+
def onComponentRemoved: (Sketchup::DefinitionList definitions, Sketchup::ComponentDefinition definition) -> nil
|
|
7
|
+
def onComponentTypeChanged: (Sketchup::DefinitionList definitions, Sketchup::ComponentDefinition definition) -> nil
|
|
8
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Dimension < Sketchup::Drawingelement
|
|
4
|
+
ARROW_CLOSED: Integer
|
|
5
|
+
ARROW_DOT: Integer
|
|
6
|
+
ARROW_NONE: Integer
|
|
7
|
+
ARROW_OPEN: Integer
|
|
8
|
+
ARROW_SLASH: Integer
|
|
9
|
+
def add_observer: (untyped observer) -> bool
|
|
10
|
+
def arrow_type: () -> Integer
|
|
11
|
+
def arrow_type=: (untyped) -> untyped
|
|
12
|
+
def has_aligned_text=: (bool value) -> bool
|
|
13
|
+
def has_aligned_text?: () -> bool
|
|
14
|
+
def plane: () -> Float
|
|
15
|
+
def remove_observer: (untyped observer) -> bool
|
|
16
|
+
def text: () -> String
|
|
17
|
+
def text=: (String text) -> String
|
|
18
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::DimensionLinear < Sketchup::Dimension
|
|
4
|
+
ALIGNED_TEXT_ABOVE: Integer
|
|
5
|
+
ALIGNED_TEXT_CENTER: Integer
|
|
6
|
+
ALIGNED_TEXT_OUTSIDE: Integer
|
|
7
|
+
TEXT_CENTERED: Integer
|
|
8
|
+
TEXT_OUTSIDE_END: Integer
|
|
9
|
+
TEXT_OUTSIDE_START: Integer
|
|
10
|
+
def aligned_text_position: () -> Integer
|
|
11
|
+
def aligned_text_position=: (Integer pos) -> Integer
|
|
12
|
+
def end: () -> ([ Sketchup::Entity, Geom::Point3d ] | [ nil, Geom::Point3d ])
|
|
13
|
+
def end=: (untyped pt_or_entity) -> untyped
|
|
14
|
+
def end_attached_to: () -> [ Sketchup::InstancePath, Geom::Point3d ]?
|
|
15
|
+
def end_attached_to=: ([ Sketchup::InstancePath, Geom::Point3d ] path) -> [ Sketchup::InstancePath, Geom::Point3d ]
|
|
16
|
+
def offset_vector: () -> Geom::Vector3d
|
|
17
|
+
def offset_vector=: (Geom::Vector3d offset_vector) -> Geom::Vector3d
|
|
18
|
+
def start: () -> ([ Sketchup::Entity, Geom::Point3d ] | [ nil, Geom::Point3d ])
|
|
19
|
+
def start=: (untyped pt_or_entity) -> untyped
|
|
20
|
+
def start_attached_to: () -> [ Sketchup::InstancePath, Geom::Point3d ]?
|
|
21
|
+
def start_attached_to=: ([ Sketchup::InstancePath, Geom::Point3d ] path) -> [ Sketchup::InstancePath, Geom::Point3d ]
|
|
22
|
+
def text_position: () -> Integer
|
|
23
|
+
def text_position=: (Integer pos) -> Integer
|
|
24
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::DimensionRadial < Sketchup::Dimension
|
|
4
|
+
def arc_curve: () -> Sketchup::ArcCurve
|
|
5
|
+
def arc_curve=: (Sketchup::ArcCurve arc_curve) -> Sketchup::ArcCurve
|
|
6
|
+
def leader_break_point: () -> Geom::Point3d
|
|
7
|
+
def leader_break_point=: (Geom::Point3d point) -> Geom::Point3d
|
|
8
|
+
def leader_points: () -> [ Geom::Point3d, Geom::Point3d, Geom::Point3d ]
|
|
9
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Drawingelement < Sketchup::Entity
|
|
4
|
+
def bounds: () -> Geom::BoundingBox
|
|
5
|
+
def casts_shadows=: (bool casts) -> bool
|
|
6
|
+
def casts_shadows?: () -> bool
|
|
7
|
+
def erase!: () -> nil
|
|
8
|
+
def hidden=: (bool hidden) -> bool
|
|
9
|
+
def hidden?: () -> bool
|
|
10
|
+
def layer: () -> Sketchup::Layer
|
|
11
|
+
def layer=: (Sketchup::Layer | String layer) -> (Sketchup::Layer | String)
|
|
12
|
+
def material: () -> Sketchup::Material
|
|
13
|
+
def material=: (Sketchup::Material | String | Sketchup::Color material) -> (Sketchup::Material | String | Sketchup::Color)
|
|
14
|
+
def receives_shadows=: (bool receive) -> bool
|
|
15
|
+
def receives_shadows?: () -> bool
|
|
16
|
+
def visible=: (bool visibility) -> bool
|
|
17
|
+
def visible?: () -> bool
|
|
18
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Edge < Sketchup::Drawingelement
|
|
4
|
+
def all_connected: () -> Array[Sketchup::Entity]
|
|
5
|
+
def common_face: (Sketchup::Edge edge2) -> Sketchup::Face?
|
|
6
|
+
def curve: () -> Sketchup::Curve?
|
|
7
|
+
def end: () -> Sketchup::Vertex
|
|
8
|
+
def explode_curve: () -> Sketchup::Edge
|
|
9
|
+
def faces: () -> Array[Sketchup::Face]
|
|
10
|
+
def find_faces: () -> Integer
|
|
11
|
+
def length: () -> Length
|
|
12
|
+
| (Geom::Transformation transform) -> Length
|
|
13
|
+
def line: () -> [ Geom::Point3d, Geom::Vector3d ]
|
|
14
|
+
def other_vertex: (Sketchup::Vertex vertex1) -> Sketchup::Vertex
|
|
15
|
+
def reversed_in?: (Sketchup::Face face) -> bool
|
|
16
|
+
def smooth=: (bool value) -> bool
|
|
17
|
+
def smooth?: () -> bool
|
|
18
|
+
def soft=: (bool value) -> bool
|
|
19
|
+
def soft?: () -> bool
|
|
20
|
+
def split: (Geom::Point3d position) -> Sketchup::Edge
|
|
21
|
+
def start: () -> Sketchup::Vertex
|
|
22
|
+
def used_by?: (Sketchup::Vertex | Sketchup::Face element) -> bool
|
|
23
|
+
def vertices: () -> Array[Sketchup::Vertex]
|
|
24
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::EdgeUse < Sketchup::Entity
|
|
4
|
+
def edge: () -> Sketchup::Edge
|
|
5
|
+
def end_vertex_normal: () -> Geom::Vector3d
|
|
6
|
+
def face: () -> Sketchup::Face
|
|
7
|
+
def loop: () -> Sketchup::Loop
|
|
8
|
+
def next: () -> Sketchup::EdgeUse
|
|
9
|
+
def partners: () -> Array[Sketchup::EdgeUse]
|
|
10
|
+
def previous: () -> Sketchup::EdgeUse
|
|
11
|
+
def reversed?: () -> bool
|
|
12
|
+
def start_vertex_normal: () -> Geom::Vector3d
|
|
13
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Entities
|
|
4
|
+
include Enumerable[Sketchup::Entity]
|
|
5
|
+
def []: (Integer entity_index) -> Sketchup::Entity?
|
|
6
|
+
def active_section_plane: () -> Sketchup::SectionPlane?
|
|
7
|
+
def active_section_plane=: (Sketchup::SectionPlane? sec_plane) -> Sketchup::SectionPlane?
|
|
8
|
+
def add_3d_text: (String string, Integer alignment, String font, ?bool is_bold, ?bool is_italic, ?Length letter_height, ?Numeric tolerance, ?Length z, ?bool is_filled, ?Length extrusion) -> bool
|
|
9
|
+
def add_arc: (Geom::Point3d center, Geom::Vector3d xaxis, Geom::Vector3d normal, Numeric radius, Numeric start_angle, Numeric end_angle) -> Array[Sketchup::Edge]
|
|
10
|
+
| (Geom::Point3d center, Geom::Vector3d xaxis, Geom::Vector3d normal, Numeric radius, Numeric start_angle, Numeric end_angle, Integer num_segments) -> Array[Sketchup::Edge]
|
|
11
|
+
def add_circle: (Geom::Point3d center, Geom::Vector3d normal, Numeric radius, ?Integer numsegs) -> Array[Sketchup::Edge]
|
|
12
|
+
def add_cline: (Geom::Point3d start_point, Geom::Point3d end_point, ?String stipple) -> untyped
|
|
13
|
+
| (Geom::Point3d point, Geom::Point3d vector, ?String stipple) -> untyped
|
|
14
|
+
def add_cpoint: (Geom::point3d_like point) -> Sketchup::ConstructionPoint
|
|
15
|
+
|
|
16
|
+
def add_curve: (Array[Geom::Point3d] points) -> untyped
|
|
17
|
+
| (*Geom::Point3d points) -> untyped
|
|
18
|
+
def add_dimension_linear: (Geom::Point3d | Sketchup::Entity start_pt_or_entity, Geom::Point3d | Sketchup::Entity end_pt_or_entity, Geom::Vector3d offset_vector) -> untyped
|
|
19
|
+
| (Array[Sketchup::InstancePath | Geom::Point3d] start_instance_path, Array[Sketchup::InstancePath | Geom::Point3d] end_instance_path, Geom::Vector3d offset_vector) -> untyped
|
|
20
|
+
| ([ Array[Sketchup::Entity], Geom::Point3d ] start_array, [ Array[Sketchup::Entity], Geom::Point3d ] end_array, Geom::Vector3d offset_vector) -> untyped
|
|
21
|
+
def add_dimension_radial: (Sketchup::ArcCurve arc_curve, Geom::Point3d leader_break_pt) -> Sketchup::DimensionRadial
|
|
22
|
+
def add_edges: (Array[Geom::point3d_like] points) -> Array[Sketchup::Edge]
|
|
23
|
+
| (*Geom::point3d_like points) -> Array[Sketchup::Edge]
|
|
24
|
+
def add_face: (Array[Sketchup::Edge] | Array[Geom::point3d_like] | Sketchup::Curve entities) -> Sketchup::Face?
|
|
25
|
+
| (*Sketchup::Edge | Geom::point3d_like entities) -> Sketchup::Face?
|
|
26
|
+
|
|
27
|
+
def add_faces_from_mesh: (Geom::PolygonMesh polygon_mesh, ?Integer smooth_flags, ?Sketchup::Material | String f_material, ?Sketchup::Material | String b_material) -> Integer
|
|
28
|
+
def add_group: (Array[Sketchup::Entity] entities) -> untyped
|
|
29
|
+
| (*Sketchup::Entity entities) -> untyped
|
|
30
|
+
def add_image: (String path, Geom::Point3d point, Numeric width, ?Numeric height) -> Sketchup::Image?
|
|
31
|
+
def add_instance: (Sketchup::ComponentDefinition definition, Geom::Transformation transform) -> Sketchup::ComponentInstance
|
|
32
|
+
def add_line: (Geom::point3d_like point1, Geom::point3d_like point2) -> Sketchup::Edge?
|
|
33
|
+
|
|
34
|
+
def add_ngon: (Geom::Point3d center, Geom::Vector3d normal, Numeric radius, ?Integer numsides) -> Array[Sketchup::Edge]
|
|
35
|
+
def add_observer: (untyped observer) -> bool
|
|
36
|
+
def add_section_plane: (Geom::Point3d point, Geom::Vector3d vector) -> untyped
|
|
37
|
+
| (untyped plane) -> untyped
|
|
38
|
+
| ([ Integer, Integer, Integer, Integer ] plane) -> untyped
|
|
39
|
+
def add_snap: (Geom::Point3d position, Geom::Vector3d direction) -> untyped
|
|
40
|
+
| (Geom::Point3d position, Geom::Vector3d direction, Geom::Vector3d up) -> untyped
|
|
41
|
+
def add_text: (String text, Geom::Point3d | Sketchup::Vertex | Sketchup::InputPoint point, Geom::Vector3d vector) -> untyped
|
|
42
|
+
| (String text, Array[Sketchup::InstancePath | Geom::Point3d] instance_path_and_pt, Geom::Vector3d vector) -> untyped
|
|
43
|
+
| (String text, untyped instance_array_and_pt, Geom::Vector3d vector) -> untyped
|
|
44
|
+
def at: (Integer entity_index) -> Sketchup::Entity?
|
|
45
|
+
def build: () ?{ (Sketchup::EntitiesBuilder builder) -> untyped } -> nil
|
|
46
|
+
def clear!: () -> bool
|
|
47
|
+
def count: () -> Integer
|
|
48
|
+
def each: () ?{ (Sketchup::Entity entity) -> untyped } -> nil
|
|
49
|
+
def erase_entities: (Array[Sketchup::Entity] entities) -> untyped
|
|
50
|
+
| (*Sketchup::Entity entities) -> untyped
|
|
51
|
+
def fill_from_mesh: (Geom::PolygonMesh polygon_mesh, ?bool weld_vertices, ?Integer smooth_flags, ?Sketchup::Material | String f_material, ?Sketchup::Material | String b_material) -> bool
|
|
52
|
+
def intersect_with: (bool recurse, Geom::Transformation transform1, Sketchup::Entities entities1, Geom::Transformation transform2, bool hidden, Sketchup::Entity | Array[Sketchup::Entity] entities2) -> Array[Sketchup::Edge]
|
|
53
|
+
def length: () -> Integer
|
|
54
|
+
def model: () -> Sketchup::Model
|
|
55
|
+
def parent: () -> (Sketchup::ComponentDefinition | Sketchup::Model)
|
|
56
|
+
def remove_observer: (untyped observer) -> bool
|
|
57
|
+
def size: () -> Integer
|
|
58
|
+
def transform_by_vectors: (Array[Sketchup::Entity] sub_entities, Array[Geom::Vector3d] vectors) -> Sketchup::Entities
|
|
59
|
+
def transform_entities: (Geom::Transformation transform, Array[Sketchup::Entity] entities) -> bool
|
|
60
|
+
def weld: (Array[Sketchup::Edge] edges) -> Array[Sketchup::Curve]
|
|
61
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::EntitiesBuilder
|
|
4
|
+
def add_edge: (Geom::Point3d point1, Geom::Point3d point2) -> untyped
|
|
5
|
+
| ([ Geom::Point3d, Geom::Point3d ] points) -> untyped
|
|
6
|
+
def add_edges: (Array[Geom::Point3d] points) -> untyped
|
|
7
|
+
| (*Geom::Point3d points) -> untyped
|
|
8
|
+
def add_face: (Array[Geom::Point3d] outer_loop) -> untyped
|
|
9
|
+
| (*Geom::Point3d outer_loop) -> untyped
|
|
10
|
+
| (Array[Geom::Point3d] outer_loop, ?holes: untyped) -> untyped
|
|
11
|
+
| (*Geom::Point3d outer_loop, ?holes: untyped) -> untyped
|
|
12
|
+
def entities: () -> Sketchup::Entities
|
|
13
|
+
def valid?: () -> bool
|
|
14
|
+
def vertex_at: (untyped position) -> Sketchup::Vertex?
|
|
15
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::EntitiesObserver
|
|
4
|
+
def onActiveSectionPlaneChanged: (Sketchup::Entities entities) -> nil
|
|
5
|
+
def onElementAdded: (Sketchup::Entities entities, Sketchup::Entity entity) -> nil
|
|
6
|
+
def onElementModified: (Sketchup::Entities entities, Sketchup::Entity entity) -> nil
|
|
7
|
+
def onElementRemoved: (Sketchup::Entities entities, Sketchup::Entity entity_id) -> nil
|
|
8
|
+
def onEraseEntities: (Sketchup::Entities entities) -> nil
|
|
9
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Entity
|
|
4
|
+
def add_observer: (untyped observer) -> bool
|
|
5
|
+
def attribute_dictionaries: () -> Sketchup::AttributeDictionaries?
|
|
6
|
+
def attribute_dictionary: (String name, ?bool create) -> Sketchup::AttributeDictionary?
|
|
7
|
+
def delete_attribute: (String dictionary_name) -> bool
|
|
8
|
+
| (String dictionary_name, String key) -> bool
|
|
9
|
+
def deleted?: () -> bool
|
|
10
|
+
def entityID: () -> Integer
|
|
11
|
+
def get_attribute: (String dict_name, String key, ?untyped default_value) -> untyped
|
|
12
|
+
def inspect: () -> String
|
|
13
|
+
def model: () -> Sketchup::Model
|
|
14
|
+
def parent: () -> (Sketchup::ComponentDefinition | Sketchup::Model)
|
|
15
|
+
def persistent_id: () -> Integer
|
|
16
|
+
def remove_observer: (untyped observer) -> bool
|
|
17
|
+
def set_attribute: (String dict_name, String key, untyped value) -> untyped
|
|
18
|
+
def to_s: () -> String
|
|
19
|
+
def typename: () -> String
|
|
20
|
+
def valid?: () -> bool
|
|
21
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Environment < Sketchup::Entity
|
|
4
|
+
def description: () -> String
|
|
5
|
+
def description=: (String description) -> String
|
|
6
|
+
def linked_sun=: (bool linked_sun) -> bool
|
|
7
|
+
def linked_sun?: () -> bool
|
|
8
|
+
def linked_sun_position: () -> Geom::Point3d
|
|
9
|
+
def linked_sun_position=: (Geom::Point3d sun_position) -> Geom::Point3d
|
|
10
|
+
def name: () -> String
|
|
11
|
+
def name=: (String name) -> String
|
|
12
|
+
def path: () -> String
|
|
13
|
+
def reflection_exposure: () -> Float
|
|
14
|
+
def reflection_exposure=: (Float reflection_exposure) -> Float
|
|
15
|
+
def rotation: () -> Float
|
|
16
|
+
def rotation=: (Float rotation) -> Float
|
|
17
|
+
def skydome_exposure: () -> Float
|
|
18
|
+
def skydome_exposure=: (Float skydome_exposure) -> Float
|
|
19
|
+
def thumbnail: () -> Sketchup::ImageRep
|
|
20
|
+
def use_as_skydome=: (bool use_as_skydome) -> bool
|
|
21
|
+
def use_as_skydome?: () -> bool
|
|
22
|
+
def use_for_reflections=: (bool use_for_reflection) -> bool
|
|
23
|
+
def use_for_reflections?: () -> bool
|
|
24
|
+
def write_hdr: (String path) -> String
|
|
25
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Environments < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::Environment]
|
|
5
|
+
def []: (String name) -> Sketchup::Environment?
|
|
6
|
+
def add: (String name, String path) -> untyped
|
|
7
|
+
| (String path) -> untyped
|
|
8
|
+
|
|
9
|
+
def add_observer: (untyped observer) -> bool
|
|
10
|
+
def current: () -> Sketchup::Environment?
|
|
11
|
+
def current=: (Sketchup::Environment? environment) -> Sketchup::Environment?
|
|
12
|
+
def each: () ?{ (Sketchup::Environment environment) -> untyped } -> Sketchup::Environments
|
|
13
|
+
def purge_unused: () -> Sketchup::Environments
|
|
14
|
+
def remove: (Sketchup::Environment environment) -> bool
|
|
15
|
+
|
|
16
|
+
def remove_observer: (untyped observer) -> bool
|
|
17
|
+
def size: () -> Integer
|
|
18
|
+
end
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::EnvironmentsObserver
|
|
4
|
+
def onEnvironmentAdd: (Sketchup::Environments environments, Sketchup::Environment environment) -> nil
|
|
5
|
+
def onEnvironmentChange: (Sketchup::Environments environments, Sketchup::Environment environment) -> nil
|
|
6
|
+
def onEnvironmentRemove: (Sketchup::Environments environments, Sketchup::Environment environment) -> nil
|
|
7
|
+
def onEnvironmentSetCurrent: (Sketchup::Environments environments, Sketchup::Environment environment) -> nil
|
|
8
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::ExtensionsManager
|
|
4
|
+
include Enumerable[SketchupExtension]
|
|
5
|
+
def []: (Integer | String index_or_name) -> SketchupExtension?
|
|
6
|
+
def count: () -> Integer
|
|
7
|
+
def each: () ?{ (SketchupExtension extension) -> untyped } -> nil
|
|
8
|
+
def keys: () -> untyped
|
|
9
|
+
def length: () -> Integer
|
|
10
|
+
def size: () -> Integer
|
|
11
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Face < Sketchup::Drawingelement
|
|
4
|
+
PointInside: Integer
|
|
5
|
+
PointNotOnPlane: Integer
|
|
6
|
+
PointOnEdge: Integer
|
|
7
|
+
PointOnFace: Integer
|
|
8
|
+
PointOnVertex: Integer
|
|
9
|
+
PointOutside: Integer
|
|
10
|
+
PointUnknown: Integer
|
|
11
|
+
def all_connected: () -> Array[Sketchup::Entity]
|
|
12
|
+
def area: () -> Float
|
|
13
|
+
| (Geom::Transformation transform) -> Float
|
|
14
|
+
def back_material: () -> Sketchup::Material?
|
|
15
|
+
def back_material=: (Sketchup::Material material) -> Sketchup::Material
|
|
16
|
+
def classify_point: (Geom::Point3d point) -> Integer
|
|
17
|
+
def clear_texture_position: (bool front) -> untyped
|
|
18
|
+
def clear_texture_projection: (bool frontside) -> untyped
|
|
19
|
+
def coplanar_with?: (Sketchup::Face other_face) -> bool
|
|
20
|
+
def edges: () -> Array[Sketchup::Edge]
|
|
21
|
+
def followme: (Array[Sketchup::Edge] edges) -> bool
|
|
22
|
+
| (Sketchup::Edge edge) -> bool
|
|
23
|
+
def get_UVHelper: (?bool front, ?bool back) -> untyped
|
|
24
|
+
| (?bool front, ?bool back, Sketchup::TextureWriter texturewriter) -> untyped
|
|
25
|
+
def get_glued_instances: () -> Array[Sketchup::ComponentInstance | Sketchup::Group | Sketchup::Image]
|
|
26
|
+
def get_texture_projection: (bool frontside) -> Geom::Vector3d?
|
|
27
|
+
def loops: () -> Array[Sketchup::Loop]
|
|
28
|
+
def material: () -> Sketchup::Material?
|
|
29
|
+
def material=: (Sketchup::Material material) -> Sketchup::Material
|
|
30
|
+
def mesh: (?Integer flags) -> Geom::PolygonMesh
|
|
31
|
+
def normal: () -> Geom::Vector3d
|
|
32
|
+
def outer_loop: () -> Sketchup::Loop
|
|
33
|
+
def plane: () -> [ Float, Float, Float, Float ]
|
|
34
|
+
def position_material: (Sketchup::Material material, Array[Geom::Point3d] points, bool on_front) -> untyped
|
|
35
|
+
| (Sketchup::Material material, Array[Geom::Point3d] points, bool on_front, untyped projection) -> untyped
|
|
36
|
+
def pushpull: (Length distance, ?bool copy) -> nil
|
|
37
|
+
def reverse!: () -> (Sketchup::Face | false)
|
|
38
|
+
%a{deprecated}
|
|
39
|
+
def set_texture_projection: (Geom::Vector3d vector, bool frontside) -> bool
|
|
40
|
+
def texture_positioned?: (bool front) -> bool
|
|
41
|
+
def texture_projected?: (bool front) -> bool
|
|
42
|
+
def uv_tile_at: (Geom::Point3d position, bool front) -> Array[Geom::Point3d]?
|
|
43
|
+
def vertices: () -> Array[Sketchup::Vertex]
|
|
44
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Group < Sketchup::Drawingelement
|
|
4
|
+
def add_observer: (untyped observer) -> bool
|
|
5
|
+
def copy: () -> Sketchup::Group
|
|
6
|
+
def definition: () -> Sketchup::ComponentDefinition
|
|
7
|
+
def description: () -> String
|
|
8
|
+
def description=: (String description) -> String
|
|
9
|
+
def entities: () -> Sketchup::Entities
|
|
10
|
+
def equals?: (Sketchup::Group group) -> bool
|
|
11
|
+
def explode: () -> Array[Sketchup::Drawingelement]
|
|
12
|
+
def glued_to: () -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
13
|
+
def glued_to=: ((Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)? drawing_element) -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
14
|
+
def guid: () -> String
|
|
15
|
+
def intersect: (Sketchup::Group | Sketchup::ComponentInstance group) -> Sketchup::Group?
|
|
16
|
+
%a{deprecated}
|
|
17
|
+
def local_bounds: () -> Geom::BoundingBox
|
|
18
|
+
def locked=: (bool lock) -> bool
|
|
19
|
+
def locked?: () -> bool
|
|
20
|
+
def make_unique: () -> Sketchup::Group
|
|
21
|
+
%a{deprecated}
|
|
22
|
+
def manifold?: () -> bool
|
|
23
|
+
def move!: (Geom::Transformation transformation) -> Sketchup::Group
|
|
24
|
+
def name: () -> String
|
|
25
|
+
def name=: (String name) -> String
|
|
26
|
+
def outer_shell: (Sketchup::Group | Sketchup::ComponentInstance group) -> Sketchup::Group?
|
|
27
|
+
def remove_observer: (untyped observer) -> bool
|
|
28
|
+
def show_differences: (Sketchup::Group | Sketchup::ComponentInstance group, bool verbose) -> bool
|
|
29
|
+
def split: (Sketchup::Group | Sketchup::ComponentInstance other) -> [ Sketchup::Group, Sketchup::Group, Sketchup::Group ]?
|
|
30
|
+
def subtract: (Sketchup::Group | Sketchup::ComponentInstance group) -> Sketchup::Group?
|
|
31
|
+
def to_component: () -> Sketchup::ComponentInstance
|
|
32
|
+
def transform!: (Geom::Transformation transform) -> Sketchup::Group
|
|
33
|
+
def transformation: () -> Geom::Transformation
|
|
34
|
+
def transformation=: (Geom::Transformation transformation) -> Geom::Transformation
|
|
35
|
+
def trim: (Sketchup::Group | Sketchup::ComponentInstance group) -> Sketchup::Group?
|
|
36
|
+
def union: (Sketchup::Group | Sketchup::ComponentInstance group) -> Sketchup::Group?
|
|
37
|
+
def volume: () -> Float
|
|
38
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Http::Request
|
|
4
|
+
def body: () -> String
|
|
5
|
+
def body=: (String body) -> String
|
|
6
|
+
def cancel: () -> true
|
|
7
|
+
def headers: () -> Hash[untyped, untyped]
|
|
8
|
+
def headers=: (Hash[untyped, untyped] headers) -> bool
|
|
9
|
+
def initialize: (String url, ?String method) -> void
|
|
10
|
+
def method: () -> String
|
|
11
|
+
def method=: (String method) -> bool
|
|
12
|
+
def set_download_progress_callback: () ?{ (Integer current, Integer total) -> untyped } -> bool
|
|
13
|
+
def set_upload_progress_callback: () ?{ (Integer current, Integer total) -> untyped } -> bool
|
|
14
|
+
def start: () ?{ (Sketchup::Http::Request request, Sketchup::Http::Response response) -> untyped } -> bool
|
|
15
|
+
def status: () -> Integer
|
|
16
|
+
def url: () -> String
|
|
17
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
module Sketchup::Http
|
|
4
|
+
DELETE: Integer
|
|
5
|
+
|
|
6
|
+
GET: Integer
|
|
7
|
+
|
|
8
|
+
HEAD: Integer
|
|
9
|
+
|
|
10
|
+
OPTIONS: Integer
|
|
11
|
+
|
|
12
|
+
PATCH: Integer
|
|
13
|
+
|
|
14
|
+
POST: Integer
|
|
15
|
+
|
|
16
|
+
PUT: Integer
|
|
17
|
+
|
|
18
|
+
STATUS_CANCELED: Integer
|
|
19
|
+
|
|
20
|
+
STATUS_FAILED: Integer
|
|
21
|
+
|
|
22
|
+
STATUS_PENDING: Integer
|
|
23
|
+
|
|
24
|
+
STATUS_SUCCESS: Integer
|
|
25
|
+
|
|
26
|
+
STATUS_UNKNOWN: Integer
|
|
27
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Image < Sketchup::Drawingelement
|
|
4
|
+
def explode: () -> untyped
|
|
5
|
+
def glued_to: () -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
6
|
+
def glued_to=: ((Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)? drawing_element) -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
7
|
+
def height: () -> untyped
|
|
8
|
+
def height=: (untyped height) -> untyped
|
|
9
|
+
def image_rep: () -> Sketchup::ImageRep
|
|
10
|
+
def normal: () -> untyped
|
|
11
|
+
def origin: () -> untyped
|
|
12
|
+
def origin=: (untyped point) -> untyped
|
|
13
|
+
def path: () -> untyped
|
|
14
|
+
def pixelheight: () -> untyped
|
|
15
|
+
def pixelwidth: () -> untyped
|
|
16
|
+
def size=: (untyped width, untyped height) -> untyped
|
|
17
|
+
def transform!: (untyped transform) -> untyped
|
|
18
|
+
def transformation: () -> untyped
|
|
19
|
+
def transformation=: (untyped transform) -> untyped
|
|
20
|
+
def width: () -> untyped
|
|
21
|
+
def width=: (untyped width) -> untyped
|
|
22
|
+
def zrotation: () -> Float
|
|
23
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::ImageRep
|
|
4
|
+
def bits_per_pixel: () -> Integer
|
|
5
|
+
def color_at_uv: (Float u, Float v, ?bool bilinear) -> Sketchup::Color?
|
|
6
|
+
def colors: () -> Array[Sketchup::Color]?
|
|
7
|
+
def data: () -> String?
|
|
8
|
+
def height: () -> Integer
|
|
9
|
+
def initialize: () -> void
|
|
10
|
+
| (String filepath) -> void
|
|
11
|
+
def load_file: (String filepath) -> untyped
|
|
12
|
+
def row_padding: () -> Integer
|
|
13
|
+
def save_file: (String filepath) -> untyped
|
|
14
|
+
def set_data: (Integer width, Integer height, Integer bits_per_pixel, Integer row_padding, String pixel_data) -> Sketchup::ImageRep
|
|
15
|
+
def size: () -> Integer
|
|
16
|
+
def width: () -> Integer
|
|
17
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Importer
|
|
4
|
+
ImportCanceled: Integer
|
|
5
|
+
ImportFail: Integer
|
|
6
|
+
ImportFileNotFound: Integer
|
|
7
|
+
ImportSuccess: Integer
|
|
8
|
+
def description: () -> untyped
|
|
9
|
+
def do_options: () -> untyped
|
|
10
|
+
def file_extension: () -> untyped
|
|
11
|
+
def id: () -> untyped
|
|
12
|
+
def load_file: (untyped file_path, untyped status) -> untyped
|
|
13
|
+
def supports_options?: () -> bool
|
|
14
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::InputPoint
|
|
4
|
+
def ==: (untyped inputpoint2) -> untyped
|
|
5
|
+
def clear: () -> untyped
|
|
6
|
+
def copy!: (untyped inputpoint) -> untyped
|
|
7
|
+
def degrees_of_freedom: () -> untyped
|
|
8
|
+
def depth: () -> untyped
|
|
9
|
+
def display?: () -> bool
|
|
10
|
+
def draw: (untyped view) -> untyped
|
|
11
|
+
def edge: () -> untyped
|
|
12
|
+
def face: () -> Sketchup::Face?
|
|
13
|
+
def initialize: () -> void
|
|
14
|
+
| (Geom::Point3d | Sketchup::Vertex pt_or_vertex) -> void
|
|
15
|
+
def instance_path: () -> Sketchup::InstancePath?
|
|
16
|
+
def pick: (Sketchup::View view, Integer x, Integer y) -> untyped
|
|
17
|
+
| (Sketchup::View view, Integer x, Integer y, Sketchup::InputPoint inputpoint) -> untyped
|
|
18
|
+
| (Sketchup::View view, Float x, Float y) -> untyped
|
|
19
|
+
| (Sketchup::View view, Float x, Float y, Sketchup::InputPoint inputpoint) -> untyped
|
|
20
|
+
def position: () -> untyped
|
|
21
|
+
def tooltip: () -> untyped
|
|
22
|
+
def transformation: () -> untyped
|
|
23
|
+
def valid?: () -> bool
|
|
24
|
+
def vertex: () -> untyped
|
|
25
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::InstancePath
|
|
4
|
+
include Enumerable[Sketchup::Entity]
|
|
5
|
+
def ==: (untyped other) -> bool
|
|
6
|
+
def []: (Integer index) -> Sketchup::Entity
|
|
7
|
+
def each: () ?{ (Sketchup::Entity entity) -> untyped } -> nil
|
|
8
|
+
def empty?: () -> bool
|
|
9
|
+
def include?: (untyped object) -> bool
|
|
10
|
+
def initialize: (Array[Sketchup::Entity] path) -> void
|
|
11
|
+
def leaf: () -> Sketchup::Entity?
|
|
12
|
+
def length: () -> Integer
|
|
13
|
+
def persistent_id_path: () -> String
|
|
14
|
+
def root: () -> (Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
15
|
+
def size: () -> Integer
|
|
16
|
+
def to_a: () -> Array[untyped]
|
|
17
|
+
def transformation: () -> Geom::Transformation
|
|
18
|
+
| (Integer index) -> Geom::Transformation
|
|
19
|
+
def valid?: () -> bool
|
|
20
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Layer < Sketchup::Entity
|
|
4
|
+
include Comparable
|
|
5
|
+
def <=>: (Sketchup::Layer layer2) -> Integer
|
|
6
|
+
def ==: (untyped other) -> untyped
|
|
7
|
+
def color: () -> Sketchup::Color
|
|
8
|
+
def color=: (Sketchup::Color color) -> Sketchup::Color
|
|
9
|
+
def display_name: () -> String
|
|
10
|
+
def folder: () -> Sketchup::LayerFolder?
|
|
11
|
+
def folder=: (Sketchup::LayerFolder? parent) -> Sketchup::LayerFolder?
|
|
12
|
+
def line_style: () -> Sketchup::LineStyle?
|
|
13
|
+
def line_style=: (Sketchup::LineStyle? line_style) -> Sketchup::Layer
|
|
14
|
+
def name: () -> String
|
|
15
|
+
def name=: (String name) -> String
|
|
16
|
+
def page_behavior: () -> Integer
|
|
17
|
+
def page_behavior=: (Integer page_behavior) -> Integer
|
|
18
|
+
def visible=: (bool visible) -> bool
|
|
19
|
+
def visible?: () -> bool
|
|
20
|
+
end
|