scriptup 2026.0.0 → 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 -212
- 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 -275
- 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/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 -248
- 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 -62
- 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 -152
- 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 -183
- 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 -588
- 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 -142
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -222
- 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 -834
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -186
- 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/face.h +0 -686
- 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 -685
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -244
- 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 -288
- 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 -390
- 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 -1663
- 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 -179
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -836
- 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/style.h +0 -303
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -190
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -384
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -358
- 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 -122
- 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/Libraries/libCommonGeometry.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonGeoutils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonImage.dylib +0 -4
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonPreferences.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUnits.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUtils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonZip.dylib +0 -0
- 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 -835
- 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/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 -864
- data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -59
- data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -330
- 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 -243
- 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 -456
- data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -261
- 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 -624
- data/sketchup-sdk-win/headers/LayOutAPI/model/skpfilereference.h +0 -94
- data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1080
- data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -470
- data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -156
- 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 -248
- 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 -62
- 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 -152
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -183
- 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 -588
- 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 -142
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -222
- 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 -834
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -186
- 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/face.h +0 -686
- 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 -685
- data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -244
- 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 -288
- 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 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1663
- 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 -179
- data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -836
- 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/style.h +0 -303
- data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -190
- data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -384
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -358
- 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 -122
- 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,89 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::RenderingOptions < Sketchup::Entity
|
|
4
|
+
include Enumerable[untyped]
|
|
5
|
+
ROPAssign: Integer
|
|
6
|
+
ROPDrawHidden: Integer
|
|
7
|
+
ROPDrawHiddenGeometry: Integer
|
|
8
|
+
ROPDrawHiddenObjects: Integer
|
|
9
|
+
ROPEditComponent: Integer
|
|
10
|
+
ROPSectionDisplayTurnedOff: Integer
|
|
11
|
+
ROPSetAOColor: Integer
|
|
12
|
+
ROPSetAOColorEnabled: Integer
|
|
13
|
+
ROPSetAODistance: Integer
|
|
14
|
+
ROPSetAOEnabled: Integer
|
|
15
|
+
ROPSetAOIntensity: Integer
|
|
16
|
+
ROPSetAOMultiplier: Integer
|
|
17
|
+
ROPSetBackgroundColor: Integer
|
|
18
|
+
ROPSetConstructionColor: Integer
|
|
19
|
+
ROPSetDepthQueEdges: Integer
|
|
20
|
+
ROPSetDepthQueWidth: Integer
|
|
21
|
+
ROPSetDisplayDims: Integer
|
|
22
|
+
ROPSetDisplayFog: Integer
|
|
23
|
+
ROPSetDisplayInstanceAxes: Integer
|
|
24
|
+
ROPSetDisplaySketchAxes: Integer
|
|
25
|
+
ROPSetDisplayText: Integer
|
|
26
|
+
ROPSetDisplayWatermarks: Integer
|
|
27
|
+
ROPSetDrawBackEdges: Integer
|
|
28
|
+
ROPSetDrawGround: Integer
|
|
29
|
+
ROPSetDrawHorizon: Integer
|
|
30
|
+
ROPSetDrawUnderground: Integer
|
|
31
|
+
ROPSetEdgeColorMode: Integer
|
|
32
|
+
ROPSetEdgeDisplayMode: Integer
|
|
33
|
+
ROPSetEdgeType: Integer
|
|
34
|
+
ROPSetExtendEdges: Integer
|
|
35
|
+
ROPSetExtendLines: Integer
|
|
36
|
+
ROPSetFaceColor: Integer
|
|
37
|
+
ROPSetFaceColorMode: Integer
|
|
38
|
+
ROPSetFogColor: Integer
|
|
39
|
+
ROPSetFogDist: Integer
|
|
40
|
+
ROPSetFogHint: Integer
|
|
41
|
+
ROPSetFogUseBkColor: Integer
|
|
42
|
+
ROPSetForegroundColor: Integer
|
|
43
|
+
ROPSetGroundColor: Integer
|
|
44
|
+
ROPSetGroundTransparency: Integer
|
|
45
|
+
ROPSetHideConstructionGeometry: Integer
|
|
46
|
+
ROPSetHighlightColor: Integer
|
|
47
|
+
ROPSetHorizonColor: Integer
|
|
48
|
+
ROPSetJitterEdges: Integer
|
|
49
|
+
ROPSetLineEndEdges: Integer
|
|
50
|
+
ROPSetLineEndWidth: Integer
|
|
51
|
+
ROPSetLineExtension: Integer
|
|
52
|
+
ROPSetLineStyleEdges: Integer
|
|
53
|
+
ROPSetLockedColor: Integer
|
|
54
|
+
ROPSetMaterialTransparency: Integer
|
|
55
|
+
ROPSetModelTransparency: Integer
|
|
56
|
+
ROPSetPhotomatchBackgroundOpacity: Integer
|
|
57
|
+
ROPSetPhotomatchDrawBackground: Integer
|
|
58
|
+
ROPSetPhotomatchDrawOverlay: Integer
|
|
59
|
+
ROPSetPhotomatchOverlayOpacity: Integer
|
|
60
|
+
ROPSetProfileEdges: Integer
|
|
61
|
+
ROPSetProfileWidth: Integer
|
|
62
|
+
ROPSetProfilesOnlyEdges: Integer
|
|
63
|
+
ROPSetRenderMode: Integer
|
|
64
|
+
ROPSetSectionActiveColor: Integer
|
|
65
|
+
ROPSetSectionCutFilled: Integer
|
|
66
|
+
ROPSetSectionCutWidth: Integer
|
|
67
|
+
ROPSetSectionDefaultCutColor: Integer
|
|
68
|
+
ROPSetSectionDefaultFillColor: Integer
|
|
69
|
+
ROPSetSectionDisplayMode: Integer
|
|
70
|
+
ROPSetSectionInactiveColor: Integer
|
|
71
|
+
ROPSetSkyColor: Integer
|
|
72
|
+
ROPSetTexture: Integer
|
|
73
|
+
ROPSetTransparencyObsolete: Integer
|
|
74
|
+
ROPSetXRayOpacity: Integer
|
|
75
|
+
ROPTransparencySortMethod: Integer
|
|
76
|
+
def self.each_key: () ?{ (String key) -> untyped } -> nil
|
|
77
|
+
def self.keys: () -> Array[String]
|
|
78
|
+
def []: (String key) -> untyped
|
|
79
|
+
def []=: (String key, untyped value) -> untyped
|
|
80
|
+
def add_observer: (untyped observer) -> bool
|
|
81
|
+
def count: () -> Integer
|
|
82
|
+
def each: () ?{ (String key, untyped value) -> untyped } -> nil
|
|
83
|
+
def each_key: () ?{ (String key) -> untyped } -> nil
|
|
84
|
+
def each_pair: () -> nil
|
|
85
|
+
def keys: () -> Array[String]
|
|
86
|
+
def length: () -> Integer
|
|
87
|
+
def remove_observer: (untyped observer) -> bool
|
|
88
|
+
def size: () -> Integer
|
|
89
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::SectionPlane < Sketchup::Drawingelement
|
|
4
|
+
def activate: () -> untyped
|
|
5
|
+
def active?: () -> bool
|
|
6
|
+
def get_plane: () -> untyped
|
|
7
|
+
def name: () -> String
|
|
8
|
+
def name=: (String name) -> String
|
|
9
|
+
def set_plane: (untyped plane) -> untyped
|
|
10
|
+
def symbol: () -> String
|
|
11
|
+
def symbol=: (String symbol) -> String
|
|
12
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Selection
|
|
4
|
+
include Enumerable[Sketchup::Drawingelement]
|
|
5
|
+
def []: (Integer index) -> Sketchup::Drawingelement?
|
|
6
|
+
def add: (Array[Sketchup::Drawingelement] drawing_elements) -> untyped
|
|
7
|
+
| (*Sketchup::Drawingelement drawing_elements) -> untyped
|
|
8
|
+
def add_observer: (untyped observer) -> bool
|
|
9
|
+
def at: (Integer index) -> Sketchup::Drawingelement?
|
|
10
|
+
def clear: () -> nil
|
|
11
|
+
def contains?: (Sketchup::Drawingelement drawing_element) -> bool
|
|
12
|
+
def count: () -> Integer
|
|
13
|
+
def each: () ?{ (Sketchup::Drawingelement drawing_element) -> untyped } -> nil
|
|
14
|
+
def empty?: () -> bool
|
|
15
|
+
def first: () -> Sketchup::Drawingelement
|
|
16
|
+
def include?: (Sketchup::Drawingelement drawing_element) -> bool
|
|
17
|
+
def invert: () -> nil
|
|
18
|
+
def is_curve?: () -> bool
|
|
19
|
+
def is_surface?: () -> bool
|
|
20
|
+
def length: () -> Integer
|
|
21
|
+
def model: () -> Sketchup::Model
|
|
22
|
+
def nitems: () -> Integer
|
|
23
|
+
def remove: (Array[Sketchup::Drawingelement] drawing_elements) -> untyped
|
|
24
|
+
| (*Sketchup::Drawingelement drawing_elements) -> untyped
|
|
25
|
+
def remove_observer: (untyped observer) -> bool
|
|
26
|
+
def shift: () -> Sketchup::Drawingelement
|
|
27
|
+
def single_object?: () -> bool
|
|
28
|
+
def size: () -> Integer
|
|
29
|
+
def toggle: (untyped drawings_elements) -> untyped
|
|
30
|
+
| (*Sketchup::Drawingelement drawing_elements) -> untyped
|
|
31
|
+
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::SelectionObserver
|
|
4
|
+
def onSelectionAdded: (Sketchup::Selection selection, Sketchup::Entity entity) -> nil
|
|
5
|
+
def onSelectionBulkChange: (Sketchup::Selection selection) -> nil
|
|
6
|
+
def onSelectionCleared: (Sketchup::Selection selection) -> nil
|
|
7
|
+
def onSelectionRemoved: (Sketchup::Selection selection, Sketchup::Entity entity) -> nil
|
|
8
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
%a{deprecated}
|
|
4
|
+
class Sketchup::Set
|
|
5
|
+
def clear: () -> untyped
|
|
6
|
+
def contains?: (Sketchup::Entity entity) -> bool
|
|
7
|
+
def delete: (untyped object) -> untyped
|
|
8
|
+
def each: () ?{ (untyped item) -> untyped } -> untyped
|
|
9
|
+
def empty?: () -> bool
|
|
10
|
+
def include?: (Sketchup::Entity entity) -> bool
|
|
11
|
+
def insert: (untyped object) -> untyped
|
|
12
|
+
def length: () -> Integer
|
|
13
|
+
def size: () -> Integer
|
|
14
|
+
def to_a: () -> untyped
|
|
15
|
+
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::ShadowInfo < Sketchup::Entity
|
|
4
|
+
include Enumerable[untyped]
|
|
5
|
+
def self.each_key: () ?{ (String key) -> untyped } -> nil
|
|
6
|
+
def self.keys: () -> Array[String]
|
|
7
|
+
def []: (String key) -> untyped
|
|
8
|
+
def []=: (String key, untyped value) -> untyped
|
|
9
|
+
def add_observer: (untyped observer) -> bool
|
|
10
|
+
def count: () -> Integer
|
|
11
|
+
def each: () ?{ (String key, untyped value) -> untyped } -> nil
|
|
12
|
+
def each_key: () ?{ (String key) -> untyped } -> nil
|
|
13
|
+
def each_pair: () ?{ (String key, untyped value) -> untyped } -> nil
|
|
14
|
+
def keys: () -> Array[String]
|
|
15
|
+
def length: () -> Integer
|
|
16
|
+
def remove_observer: (untyped observer) -> bool
|
|
17
|
+
def size: () -> Integer
|
|
18
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Snap < Sketchup::Drawingelement
|
|
4
|
+
def direction: () -> Geom::Vector3d
|
|
5
|
+
def position: () -> Geom::Point3d
|
|
6
|
+
def set: (Geom::Point3d position) -> untyped
|
|
7
|
+
| (Geom::Point3d position, Geom::Vector3d direction) -> untyped
|
|
8
|
+
| (Geom::Point3d position, Geom::Vector3d direction, Geom::Vector3d up) -> untyped
|
|
9
|
+
def up: () -> Geom::Vector3d
|
|
10
|
+
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::Style < Sketchup::Entity
|
|
4
|
+
def description: () -> String
|
|
5
|
+
def description=: (String description) -> String
|
|
6
|
+
def name: () -> String
|
|
7
|
+
def name=: (String name) -> String
|
|
8
|
+
def path: () -> String
|
|
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::Styles < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::Style]
|
|
5
|
+
def []: (String name) -> Sketchup::Style?
|
|
6
|
+
| (Integer index) -> Sketchup::Style?
|
|
7
|
+
def active_style: () -> Sketchup::Style
|
|
8
|
+
def active_style_changed: () -> bool
|
|
9
|
+
def add_style: (String filename, bool select) -> bool
|
|
10
|
+
| (String filename, ?bool select) -> untyped
|
|
11
|
+
def count: () -> Integer
|
|
12
|
+
def each: () ?{ (Sketchup::Style style) -> untyped } -> nil
|
|
13
|
+
def length: () -> Integer
|
|
14
|
+
def parent: () -> Sketchup::Model
|
|
15
|
+
def purge_unused: () -> nil
|
|
16
|
+
def remove_style: (Sketchup::Style style) -> nil
|
|
17
|
+
def selected_style: () -> Sketchup::Style
|
|
18
|
+
def selected_style=: (Sketchup::Style style) -> nil
|
|
19
|
+
def size: () -> Integer
|
|
20
|
+
def update_selected_style: () -> nil
|
|
21
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Text < Sketchup::Drawingelement
|
|
4
|
+
def arrow_type: () -> Integer
|
|
5
|
+
def arrow_type=: (Integer) -> Integer
|
|
6
|
+
def attached_to: () -> [ Sketchup::InstancePath, Geom::Point3d ]?
|
|
7
|
+
def attached_to=: ([ Sketchup::InstancePath, Geom::Point3d ] path) -> [ Sketchup::InstancePath, Geom::Point3d ]
|
|
8
|
+
def display_leader=: (bool status) -> bool
|
|
9
|
+
def display_leader?: () -> bool
|
|
10
|
+
def has_leader?: () -> bool
|
|
11
|
+
def leader_type: () -> Integer
|
|
12
|
+
def leader_type=: (Integer) -> Integer
|
|
13
|
+
def line_weight: () -> Integer
|
|
14
|
+
def line_weight=: (Integer weight) -> Integer
|
|
15
|
+
def point: () -> Geom::Point3d
|
|
16
|
+
def point=: (Geom::Point3d point3d) -> Geom::Point3d
|
|
17
|
+
def set_text: (String textstring) -> Sketchup::Text
|
|
18
|
+
def text: () -> String
|
|
19
|
+
def text=: (String textstring) -> String
|
|
20
|
+
def vector: () -> Geom::Vector3d
|
|
21
|
+
def vector=: (Geom::Vector3d vector) -> Geom::Vector3d
|
|
22
|
+
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::Texture < Sketchup::Entity
|
|
4
|
+
def average_color: () -> Sketchup::Color?
|
|
5
|
+
def filename: () -> String
|
|
6
|
+
def height: () -> Integer
|
|
7
|
+
def image_height: () -> Integer
|
|
8
|
+
def image_rep: (?bool colorized) -> Sketchup::ImageRep
|
|
9
|
+
def image_width: () -> Integer
|
|
10
|
+
def size=: (Integer | [ Integer, Integer ] size) -> (Integer | [ Integer, Integer ])
|
|
11
|
+
def valid?: () -> bool
|
|
12
|
+
def width: () -> Integer
|
|
13
|
+
def write: (String path, ?bool colorize) -> bool
|
|
14
|
+
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::TextureWriter
|
|
4
|
+
def count: () -> Integer
|
|
5
|
+
def filename: (Integer handle) -> String
|
|
6
|
+
def handle: (Sketchup::Entity entity) -> Integer
|
|
7
|
+
| (Sketchup::Face face, bool side) -> Integer
|
|
8
|
+
def length: () -> Integer
|
|
9
|
+
def load: (Sketchup::Entity entity) -> Integer
|
|
10
|
+
| (Sketchup::Face face, bool side) -> Integer
|
|
11
|
+
def write: (Sketchup::Entity entity, String filename) -> Integer
|
|
12
|
+
| (Sketchup::Entity entity, bool side, String filename) -> Integer
|
|
13
|
+
def write_all: (String dirname, bool filename_format) -> Integer
|
|
14
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Tool
|
|
4
|
+
def activate: () -> untyped
|
|
5
|
+
def deactivate: (Sketchup::View view) -> untyped
|
|
6
|
+
def draw: (Sketchup::View view) -> untyped
|
|
7
|
+
def enableVCB?: () -> bool
|
|
8
|
+
def getExtents: () -> Geom::BoundingBox
|
|
9
|
+
def getInstructorContentDirectory: () -> String
|
|
10
|
+
def getMenu: (Sketchup::Menu menu) -> untyped
|
|
11
|
+
| (Sketchup::Menu menu, Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
12
|
+
| (Sketchup::Menu menu, Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
13
|
+
def onCancel: (Integer reason, Sketchup::View view) -> untyped
|
|
14
|
+
def onKeyDown: (Integer key, Integer repeat, Integer flags, Sketchup::View view) -> bool
|
|
15
|
+
def onKeyUp: (Integer key, Integer repeat, Integer flags, Sketchup::View view) -> bool
|
|
16
|
+
def onLButtonDoubleClick: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
17
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
18
|
+
def onLButtonDown: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
19
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
20
|
+
def onLButtonUp: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
21
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
22
|
+
def onMButtonDoubleClick: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
23
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
24
|
+
def onMButtonDown: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
25
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
26
|
+
def onMButtonUp: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
27
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
28
|
+
def onMouseEnter: (Sketchup::View view) -> untyped
|
|
29
|
+
def onMouseLeave: (Sketchup::View view) -> untyped
|
|
30
|
+
def onMouseMove: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
31
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
32
|
+
def onMouseWheel: (Integer flags, Integer delta, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
33
|
+
| (Integer flags, Integer delta, Float x, Float y, Sketchup::View view) -> untyped
|
|
34
|
+
def onRButtonDoubleClick: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
35
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
36
|
+
def onRButtonDown: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
37
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
38
|
+
def onRButtonUp: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
39
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
40
|
+
def onReturn: (Sketchup::View view) -> nil
|
|
41
|
+
def onSetCursor: () -> bool
|
|
42
|
+
def onUserText: (String text, Sketchup::View view) -> untyped
|
|
43
|
+
def resume: (Sketchup::View view) -> untyped
|
|
44
|
+
def suspend: (Sketchup::View view) -> untyped
|
|
45
|
+
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::Tools
|
|
4
|
+
def active_tool: () -> untyped
|
|
5
|
+
def active_tool_id: () -> untyped
|
|
6
|
+
def active_tool_name: () -> untyped
|
|
7
|
+
|
|
8
|
+
def add_observer: (untyped observer) -> bool
|
|
9
|
+
def model: () -> untyped
|
|
10
|
+
def pop_tool: () -> untyped
|
|
11
|
+
def push_tool: (untyped tool) -> untyped
|
|
12
|
+
|
|
13
|
+
def remove_observer: (untyped observer) -> bool
|
|
14
|
+
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::ToolsObserver
|
|
4
|
+
def onActiveToolChanged: (Sketchup::Tools tools, String tool_name, Integer tool_id) -> nil
|
|
5
|
+
def onToolStateChanged: (Sketchup::Tools tools, String tool_name, Integer tool_id, Integer tool_state) -> nil
|
|
6
|
+
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::Vertex < Sketchup::Entity
|
|
4
|
+
def common_edge: (Sketchup::Vertex vertex2) -> Sketchup::Edge?
|
|
5
|
+
def curve_interior?: () -> Sketchup::ArcCurve?
|
|
6
|
+
def edges: () -> Array[Sketchup::Edge]
|
|
7
|
+
def faces: () -> Array[Sketchup::Face]
|
|
8
|
+
def loops: () -> Array[Sketchup::Loop]
|
|
9
|
+
def position: () -> Geom::Point3d
|
|
10
|
+
def used_by?: (Sketchup::Edge | Sketchup::Face face_or_edge) -> bool
|
|
11
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::View
|
|
4
|
+
CORNER_BOTTOM_LEFT: Integer
|
|
5
|
+
CORNER_BOTTOM_RIGHT: Integer
|
|
6
|
+
CORNER_TOP_LEFT: Integer
|
|
7
|
+
CORNER_TOP_RIGHT: Integer
|
|
8
|
+
def add_observer: (untyped observer) -> bool
|
|
9
|
+
def animation=: (untyped animation) -> untyped
|
|
10
|
+
def average_refresh_time: () -> Float
|
|
11
|
+
def camera: () -> Sketchup::Camera
|
|
12
|
+
def camera=: (Sketchup::Camera camera) -> Sketchup::Camera
|
|
13
|
+
| ([ Sketchup::Camera, Float ] camera_and_transition) -> [ Sketchup::Camera, Float ]
|
|
14
|
+
def center: () -> [ Integer, Integer ]
|
|
15
|
+
| () -> [ Float, Float ]
|
|
16
|
+
def corner: (Integer index) -> [ Integer, Integer ]
|
|
17
|
+
| (Integer index) -> [ Float, Float ]
|
|
18
|
+
def device_height: () -> Integer
|
|
19
|
+
def device_width: () -> Integer
|
|
20
|
+
def draw: (Integer openglenum, Array[Geom::Point3d] points) -> untyped
|
|
21
|
+
| (Integer openglenum, *Geom::Point3d points) -> untyped
|
|
22
|
+
| (Integer openglenum, Array[Geom::Point3d] points, **Hash[Symbol, untyped] options) -> untyped
|
|
23
|
+
| (Integer openglenum, *Geom::Point3d points, **Hash[Symbol, untyped] options) -> untyped
|
|
24
|
+
def draw2d: (Integer openglenum, Array[Geom::Point3d] points) -> untyped
|
|
25
|
+
| (Integer openglenum, *Geom::Point3d points) -> untyped
|
|
26
|
+
| (Integer openglenum, Array[Geom::Point3d] points, **Hash[Symbol, untyped] options) -> untyped
|
|
27
|
+
| (Integer openglenum, *Geom::Point3d points, **Hash[Symbol, untyped] options) -> untyped
|
|
28
|
+
def draw_line: (Array[Geom::Point3d] points, untyped) -> Sketchup::View
|
|
29
|
+
| (Array[Geom::Point3d] points) -> Sketchup::View
|
|
30
|
+
def draw_lines: (Array[Geom::Point3d] points, untyped) -> Sketchup::View
|
|
31
|
+
| (Array[Geom::Point3d] points) -> Sketchup::View
|
|
32
|
+
def draw_points: (Array[Geom::Point3d] points, ?Integer size, ?Integer style, ?Sketchup::Color color) -> Sketchup::View
|
|
33
|
+
def draw_polyline: (Array[Geom::Point3d] points, untyped) -> Sketchup::View
|
|
34
|
+
| (Array[Geom::Point3d] points) -> Sketchup::View
|
|
35
|
+
| (Array[Geom::Point3d] points, untyped, bool close) -> Sketchup::View
|
|
36
|
+
def draw_text: (Geom::Point3d point, String text) -> untyped
|
|
37
|
+
| (Geom::Point3d point, String text, ?Hash[Symbol, untyped] options) -> untyped
|
|
38
|
+
def drawing_color=: (Sketchup::Color | String color) -> Sketchup::View
|
|
39
|
+
%a{deprecated}
|
|
40
|
+
def dynamic=: (bool value) -> bool
|
|
41
|
+
def field_of_view: () -> Float
|
|
42
|
+
def field_of_view=: (Numeric fov) -> Numeric
|
|
43
|
+
def graphics_engine: () -> Symbol
|
|
44
|
+
def guess_target: () -> untyped
|
|
45
|
+
| (Geom::Point3d screen_point) -> untyped
|
|
46
|
+
def inference_locked?: () -> bool
|
|
47
|
+
def inputpoint: (Integer x, Integer y) -> untyped
|
|
48
|
+
| (Integer x, Integer y, Sketchup::InputPoint inputpoint1) -> untyped
|
|
49
|
+
| (Float x, Float y) -> untyped
|
|
50
|
+
| (Float x, Float y, Sketchup::InputPoint inputpoint1) -> untyped
|
|
51
|
+
def invalidate: () -> Sketchup::View
|
|
52
|
+
def last_refresh_time: () -> untyped
|
|
53
|
+
| (bool full) -> untyped
|
|
54
|
+
def line_stipple=: (String pattern) -> Sketchup::View
|
|
55
|
+
def line_width=: (Numeric width) -> Numeric
|
|
56
|
+
def load_texture: (Sketchup::ImageRep image_rep) -> Integer
|
|
57
|
+
def lock_inference: () -> untyped
|
|
58
|
+
| (Sketchup::InputPoint inputpoint) -> untyped
|
|
59
|
+
| (Sketchup::InputPoint inputpoint, Sketchup::InputPoint inputpoint2) -> untyped
|
|
60
|
+
def model: () -> Sketchup::Model
|
|
61
|
+
def pick_helper: () -> Sketchup::PickHelper
|
|
62
|
+
| (Integer x, Integer y, ?Integer aperture) -> Sketchup::PickHelper
|
|
63
|
+
| (Float x, Float y, ?Float aperture) -> Sketchup::PickHelper
|
|
64
|
+
def pickray: ([ Integer, Integer ] screen_point) -> [ Geom::Point3d, Geom::Vector3d ]
|
|
65
|
+
| (Integer x, Integer y) -> [ Geom::Point3d, Geom::Vector3d ]
|
|
66
|
+
| ([ Float, Float ] screen_point) -> [ Geom::Point3d, Geom::Vector3d ]
|
|
67
|
+
| (Float x, Float y) -> [ Geom::Point3d, Geom::Vector3d ]
|
|
68
|
+
def pixels_to_model: (Numeric pixels, Geom::Point3d point) -> Float
|
|
69
|
+
def refresh: () -> Sketchup::View
|
|
70
|
+
def release_texture: (Integer texture_id) -> bool
|
|
71
|
+
def remove_observer: (untyped observer) -> bool
|
|
72
|
+
def screen_coords: (Geom::Point3d | Sketchup::Vertex model_point) -> untyped
|
|
73
|
+
def set_color_from_line: (Geom::Point3d point1, Geom::Point3d point2) -> untyped
|
|
74
|
+
| (Geom::Point3d point1, Geom::Point3d point2, Sketchup::Color | String color) -> untyped
|
|
75
|
+
| (Sketchup::InputPoint inputpoint1, Sketchup::InputPoint inputpoint2) -> untyped
|
|
76
|
+
def show_frame: (Numeric delay) -> Sketchup::View
|
|
77
|
+
def text_bounds: (Geom::Point3d point, String text, ?Hash[Symbol, untyped] options) -> Geom::Bounds2d
|
|
78
|
+
def tooltip=: (String string) -> String
|
|
79
|
+
def vpheight: () -> Integer
|
|
80
|
+
| () -> Float
|
|
81
|
+
def vpwidth: () -> Integer
|
|
82
|
+
| () -> Float
|
|
83
|
+
def write_image: (String filename, ?Integer width, ?Integer height, ?bool antialias, ?Float compression) -> untyped
|
|
84
|
+
| (Hash[Symbol, untyped] options) -> untyped
|
|
85
|
+
def zoom: (Numeric | Sketchup::Selection | Sketchup::Entity | Array[Sketchup::Entity] zoom_or_ents) -> Sketchup::View
|
|
86
|
+
def zoom_extents: () -> Sketchup::View
|
|
87
|
+
end
|
data/sig/sketchup.rbs
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
module Sketchup
|
|
4
|
+
PROCEDURE_ID_COPY_ALONG: Integer
|
|
5
|
+
|
|
6
|
+
PROCEDURE_ID_FOLLOW_ME: Integer
|
|
7
|
+
|
|
8
|
+
PROCEDURE_ID_SOLID_TOOLS: Integer
|
|
9
|
+
|
|
10
|
+
def self.active_model: () -> Sketchup::Model
|
|
11
|
+
|
|
12
|
+
def self.add_observer: (untyped observer) -> bool
|
|
13
|
+
|
|
14
|
+
def self.app_name: () -> String
|
|
15
|
+
|
|
16
|
+
def self.break_edges=: (bool enabled) -> bool
|
|
17
|
+
|
|
18
|
+
def self.break_edges?: () -> bool
|
|
19
|
+
|
|
20
|
+
def self.create_texture_writer: () -> Sketchup::TextureWriter
|
|
21
|
+
|
|
22
|
+
def self.debug_mode=: (bool enabled) -> bool
|
|
23
|
+
|
|
24
|
+
def self.debug_mode?: () -> bool
|
|
25
|
+
|
|
26
|
+
def self.display_name_from_action: (String action_name) -> String
|
|
27
|
+
|
|
28
|
+
def self.extensions: () -> Sketchup::ExtensionsManager
|
|
29
|
+
|
|
30
|
+
def self.file_new: () -> Module
|
|
31
|
+
|
|
32
|
+
def self.find_support_file: (String filename, String directory) -> String
|
|
33
|
+
|
|
34
|
+
def self.find_support_files: (String filename, String directory) -> Array[String]
|
|
35
|
+
|
|
36
|
+
def self.fix_shadow_strings=: (bool enabled) -> bool
|
|
37
|
+
|
|
38
|
+
def self.fix_shadow_strings?: () -> bool
|
|
39
|
+
|
|
40
|
+
def self.focus: () -> untyped
|
|
41
|
+
|
|
42
|
+
def self.format_angle: (Numeric number) -> String
|
|
43
|
+
|
|
44
|
+
def self.format_area: (Numeric number) -> String
|
|
45
|
+
|
|
46
|
+
def self.format_degrees: (Numeric number) -> String
|
|
47
|
+
|
|
48
|
+
def self.format_length: (Numeric number) -> untyped
|
|
49
|
+
| (Numeric number, untyped precision) -> untyped
|
|
50
|
+
|
|
51
|
+
def self.format_volume: (Numeric number) -> String
|
|
52
|
+
|
|
53
|
+
def self.get_datfile_info: (String key, String default_value) -> String
|
|
54
|
+
|
|
55
|
+
def self.get_i18n_datfile_info: (String key, String default_value) -> String
|
|
56
|
+
|
|
57
|
+
def self.get_locale: () -> String
|
|
58
|
+
|
|
59
|
+
def self.get_resource_path: (String filename) -> String
|
|
60
|
+
|
|
61
|
+
def self.get_shortcuts: () -> Array[String]
|
|
62
|
+
|
|
63
|
+
def self.install_from_archive: (String filepath, ?bool show_warning) -> bool
|
|
64
|
+
|
|
65
|
+
def self.is_64bit?: () -> bool
|
|
66
|
+
|
|
67
|
+
def self.is_online: () -> bool
|
|
68
|
+
|
|
69
|
+
def self.is_pro?: () -> bool
|
|
70
|
+
|
|
71
|
+
def self.is_valid_filename?: (String filename) -> bool
|
|
72
|
+
|
|
73
|
+
def self.load: (String path) -> bool
|
|
74
|
+
|
|
75
|
+
def self.open_file: (String filename) -> bool
|
|
76
|
+
| (String filename, ?with_status: bool) -> (Integer | false)
|
|
77
|
+
| (String filename, ?with_status: bool, ?show_version_warning_dialog: bool) -> (Integer | false)
|
|
78
|
+
|
|
79
|
+
def self.os_language: () -> String
|
|
80
|
+
|
|
81
|
+
def self.parse_length: (String string) -> Float
|
|
82
|
+
|
|
83
|
+
def self.platform: () -> Symbol
|
|
84
|
+
|
|
85
|
+
def self.plugins_disabled=: (bool enabled) -> bool
|
|
86
|
+
|
|
87
|
+
def self.plugins_disabled?: () -> bool
|
|
88
|
+
|
|
89
|
+
def self.quit: () -> untyped
|
|
90
|
+
|
|
91
|
+
def self.read_default: (String section, String variable, ?untyped default) -> untyped
|
|
92
|
+
|
|
93
|
+
def self.redo: () -> nil
|
|
94
|
+
|
|
95
|
+
def self.register_extension: (SketchupExtension extension, ?bool load_on_start) -> bool
|
|
96
|
+
|
|
97
|
+
def self.register_importer: (Sketchup::Importer importer) -> bool
|
|
98
|
+
|
|
99
|
+
def self.remove_observer: (untyped observer) -> bool
|
|
100
|
+
|
|
101
|
+
def self.require: (String path) -> bool
|
|
102
|
+
|
|
103
|
+
def self.resize_viewport: (Sketchup::Model model, Integer width, Integer height) -> untyped
|
|
104
|
+
| (Sketchup::Model model, Integer width, Integer height, ?logical_pixels: bool) -> untyped
|
|
105
|
+
|
|
106
|
+
def self.save_thumbnail: (String skp_filename, String img_filename) -> bool
|
|
107
|
+
|
|
108
|
+
%a{deprecated}
|
|
109
|
+
def self.send_action: (String | Integer action) -> bool
|
|
110
|
+
|
|
111
|
+
def self.send_to_layout: (String file) -> bool
|
|
112
|
+
|
|
113
|
+
def self.set_status_text: () -> nil
|
|
114
|
+
| (?untyped status_text, ?Integer position) -> nil
|
|
115
|
+
|
|
116
|
+
def self.status_text=: (String status_text) -> String
|
|
117
|
+
|
|
118
|
+
def self.temp_dir: () -> String
|
|
119
|
+
|
|
120
|
+
def self.template: () -> String
|
|
121
|
+
|
|
122
|
+
def self.template=: (String filename) -> String
|
|
123
|
+
|
|
124
|
+
def self.template_dir: () -> String
|
|
125
|
+
|
|
126
|
+
def self.undo: () -> nil
|
|
127
|
+
|
|
128
|
+
def self.vcb_label=: (String label_text) -> String
|
|
129
|
+
|
|
130
|
+
def self.vcb_value=: (String value) -> String
|
|
131
|
+
|
|
132
|
+
def self.version: () -> String
|
|
133
|
+
|
|
134
|
+
def self.version_number: () -> Integer
|
|
135
|
+
|
|
136
|
+
def self.write_default: (String section, String key, untyped value) -> bool
|
|
137
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class SketchupExtension
|
|
4
|
+
def check: () -> bool
|
|
5
|
+
def copyright: () -> String
|
|
6
|
+
def copyright=: (String copyright) -> String
|
|
7
|
+
def creator: () -> String
|
|
8
|
+
def creator=: (String creator) -> String
|
|
9
|
+
def description: () -> String
|
|
10
|
+
def description=: (String description) -> String
|
|
11
|
+
def extension_path: () -> String
|
|
12
|
+
def id: () -> String
|
|
13
|
+
def initialize: (String title, String path) -> void
|
|
14
|
+
def load_on_start?: () -> bool
|
|
15
|
+
def loaded?: () -> bool
|
|
16
|
+
def name: () -> String
|
|
17
|
+
def name=: (String name) -> String
|
|
18
|
+
def registered?: () -> bool
|
|
19
|
+
def uncheck: () -> bool
|
|
20
|
+
def version: () -> String
|
|
21
|
+
def version=: (String version) -> String
|
|
22
|
+
def version_id: () -> String
|
|
23
|
+
end
|