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,26 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::LayerFolder < Sketchup::Entity
|
|
4
|
+
include Comparable
|
|
5
|
+
def <=>: (untyped other) -> Integer?
|
|
6
|
+
def ==: (untyped other) -> bool
|
|
7
|
+
def add_folder: (String name) -> untyped
|
|
8
|
+
| (Sketchup::LayerFolder folder) -> untyped
|
|
9
|
+
def add_layer: (Sketchup::Layer layer) -> nil
|
|
10
|
+
def count_folders: () -> Integer
|
|
11
|
+
def count_layers: () -> Integer
|
|
12
|
+
def each_folder: () ?{ (Sketchup::LayerFolder folder) -> untyped } -> untyped
|
|
13
|
+
def each_layer: () ?{ (Sketchup::Layer layer) -> untyped } -> untyped
|
|
14
|
+
def folder: () -> Sketchup::LayerFolder?
|
|
15
|
+
def folder=: (Sketchup::LayerFolder? parent) -> Sketchup::LayerFolder?
|
|
16
|
+
def folders: () -> Array[Sketchup::LayerFolder]
|
|
17
|
+
def layers: () -> Array[Sketchup::Layer]
|
|
18
|
+
def name: () -> String
|
|
19
|
+
def name=: (String name) -> String
|
|
20
|
+
def remove_folder: (Sketchup::LayerFolder folder) -> nil
|
|
21
|
+
def remove_layer: (Sketchup::Layer layer) -> nil
|
|
22
|
+
def visible=: (bool visible) -> bool
|
|
23
|
+
def visible?: () -> bool
|
|
24
|
+
def visible_on_new_pages=: (bool visible) -> bool
|
|
25
|
+
def visible_on_new_pages?: () -> bool
|
|
26
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Layers < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::Layer]
|
|
5
|
+
def []: (Integer | String index_or_name) -> Sketchup::Layer?
|
|
6
|
+
def add: (String layer_name) -> Sketchup::Layer
|
|
7
|
+
def add_folder: (String name) -> untyped
|
|
8
|
+
| (Sketchup::LayerFolder folder) -> untyped
|
|
9
|
+
|
|
10
|
+
def add_observer: (untyped observer) -> bool
|
|
11
|
+
def at: (untyped index_or_name) -> Sketchup::Layer?
|
|
12
|
+
def count: () -> untyped
|
|
13
|
+
def count_folders: () -> Integer
|
|
14
|
+
def count_layers: () -> Integer
|
|
15
|
+
def each: () ?{ (Sketchup::Layer layer) -> untyped } -> untyped
|
|
16
|
+
def each_folder: () ?{ (Sketchup::LayerFolder folder) -> untyped } -> untyped
|
|
17
|
+
def each_layer: () ?{ (Sketchup::Layer layer) -> untyped } -> untyped
|
|
18
|
+
def folders: () -> Array[Sketchup::LayerFolder]
|
|
19
|
+
def layers: () -> Array[Sketchup::Layer]
|
|
20
|
+
def length: () -> Integer
|
|
21
|
+
def purge_unused: () -> Integer
|
|
22
|
+
def purge_unused_folders: () -> Integer
|
|
23
|
+
def remove: (Sketchup::Layer | Integer | String layer, ?bool remove_geometry) -> bool
|
|
24
|
+
def remove_folder: (Sketchup::LayerFolder folder) -> nil
|
|
25
|
+
def remove_observer: (untyped observer) -> bool
|
|
26
|
+
|
|
27
|
+
def size: () -> Integer
|
|
28
|
+
def unique_name: () -> String
|
|
29
|
+
| (String base_name) -> String
|
|
30
|
+
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::LayersObserver
|
|
4
|
+
def onCurrentLayerChanged: (Sketchup::Layers layers, Sketchup::Layer layer) -> nil
|
|
5
|
+
def onLayerAdded: (Sketchup::Layers layers, Sketchup::Layer layer) -> nil
|
|
6
|
+
def onLayerChanged: (Sketchup::Layers layers, Sketchup::Layer layer) -> nil
|
|
7
|
+
def onLayerFolderAdded: (Sketchup::Layers layers, Sketchup::LayerFolder layer_folder) -> nil
|
|
8
|
+
def onLayerFolderChanged: (Sketchup::Layers layers, Sketchup::LayerFolder layer_folder) -> nil
|
|
9
|
+
def onLayerFolderRemoved: (Sketchup::Layers layers, Sketchup::LayerFolder layer_folder) -> nil
|
|
10
|
+
def onLayerRemoved: (Sketchup::Layers layers, Sketchup::Layer layer) -> nil
|
|
11
|
+
def onParentFolderChanged: (Sketchup::Layers layers, Sketchup::Layer layer) -> nil
|
|
12
|
+
def onRemoveAllLayers: (Sketchup::Layers layers) -> nil
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
module Sketchup::Licensing
|
|
4
|
+
EXPIRED: Integer
|
|
5
|
+
|
|
6
|
+
LICENSED: Integer
|
|
7
|
+
|
|
8
|
+
NOT_LICENSED: Integer
|
|
9
|
+
|
|
10
|
+
TRIAL: Integer
|
|
11
|
+
|
|
12
|
+
TRIAL_EXPIRED: Integer
|
|
13
|
+
|
|
14
|
+
def self.get_extension_license: (String extension_id) -> Sketchup::Licensing::ExtensionLicense
|
|
15
|
+
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::LineStyles < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::LineStyle]
|
|
5
|
+
def []: (String name) -> untyped
|
|
6
|
+
| (Integer index) -> untyped
|
|
7
|
+
def at: (String name) -> untyped
|
|
8
|
+
| (Integer index) -> untyped
|
|
9
|
+
def each: () ?{ (Sketchup::LineStyle linestyle) -> untyped } -> nil
|
|
10
|
+
def names: () -> Array[String]
|
|
11
|
+
def size: () -> Integer
|
|
12
|
+
def to_a: () -> Array[untyped]
|
|
13
|
+
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::Loop < Sketchup::Entity
|
|
4
|
+
def convex?: () -> bool
|
|
5
|
+
def edges: () -> untyped
|
|
6
|
+
def edgeuses: () -> untyped
|
|
7
|
+
def face: () -> untyped
|
|
8
|
+
def outer?: () -> bool
|
|
9
|
+
def vertices: () -> untyped
|
|
10
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Material < Sketchup::Entity
|
|
4
|
+
include Comparable
|
|
5
|
+
COLORIZE_SHIFT: Integer
|
|
6
|
+
COLORIZE_TINT: Integer
|
|
7
|
+
MATERIAL_COLORIZED_TEXTURED: Integer
|
|
8
|
+
MATERIAL_SOLID: Integer
|
|
9
|
+
MATERIAL_TEXTURED: Integer
|
|
10
|
+
NORMAL_STYLE_DIRECTX: Integer
|
|
11
|
+
NORMAL_STYLE_OPENGL: Integer
|
|
12
|
+
OWNER_IMAGE: Integer
|
|
13
|
+
OWNER_LAYER: Integer
|
|
14
|
+
OWNER_MANAGER: Integer
|
|
15
|
+
WORKFLOW_CLASSIC: Integer
|
|
16
|
+
WORKFLOW_PBR_METALLIC_ROUGHNESS: Integer
|
|
17
|
+
def <=>: (Sketchup::Material material) -> Integer
|
|
18
|
+
def ==: (Sketchup::Material material) -> bool
|
|
19
|
+
def alpha: () -> Float
|
|
20
|
+
def alpha=: (Float alpha) -> Float
|
|
21
|
+
def ao_enabled=: (untyped enabled) -> untyped
|
|
22
|
+
def ao_enabled?: () -> bool
|
|
23
|
+
def ao_strength: () -> Float
|
|
24
|
+
def ao_strength=: (Float strength) -> Float
|
|
25
|
+
def ao_texture: () -> Sketchup::Texture
|
|
26
|
+
def ao_texture=: (String image_path) -> String
|
|
27
|
+
| (Sketchup::ImageRep image_rep) -> Sketchup::ImageRep
|
|
28
|
+
| (Sketchup::Texture texture) -> Sketchup::Texture
|
|
29
|
+
def color: () -> Sketchup::Color
|
|
30
|
+
def color=: ((Sketchup::Color | String | [ Numeric, Numeric, Numeric, Numeric ] | Integer)? color) -> (Sketchup::Color | String | [ Numeric, Numeric, Numeric, Numeric ] | Integer)?
|
|
31
|
+
def colorize_deltas: () -> [ Float, Float, Float ]
|
|
32
|
+
def colorize_type: () -> Integer
|
|
33
|
+
def colorize_type=: (Integer) -> Integer
|
|
34
|
+
def display_name: () -> String
|
|
35
|
+
def materialType: () -> Integer
|
|
36
|
+
def metallic_factor: () -> Float
|
|
37
|
+
def metallic_factor=: (Float factor) -> Float
|
|
38
|
+
def metallic_texture: () -> Sketchup::Texture
|
|
39
|
+
def metallic_texture=: (String image_path) -> String
|
|
40
|
+
| (Sketchup::ImageRep image_rep) -> Sketchup::ImageRep
|
|
41
|
+
| (Sketchup::Texture texture) -> Sketchup::Texture
|
|
42
|
+
def metalness_enabled=: (bool enabled) -> bool
|
|
43
|
+
def metalness_enabled?: () -> bool
|
|
44
|
+
def name: () -> String
|
|
45
|
+
def name=: (String str) -> String
|
|
46
|
+
def normal_enabled=: (bool enabled) -> bool
|
|
47
|
+
def normal_enabled?: () -> bool
|
|
48
|
+
def normal_scale: () -> Float
|
|
49
|
+
def normal_scale=: (Float scale) -> Float
|
|
50
|
+
def normal_style: () -> Integer
|
|
51
|
+
def normal_style=: (Integer style) -> Integer
|
|
52
|
+
def normal_texture: () -> Sketchup::Texture
|
|
53
|
+
def normal_texture=: (String image_path) -> String
|
|
54
|
+
| (Sketchup::ImageRep image_rep) -> Sketchup::ImageRep
|
|
55
|
+
| (Sketchup::Texture texture) -> Sketchup::Texture
|
|
56
|
+
def owner_type: () -> Integer
|
|
57
|
+
def roughness_enabled=: (bool enabled) -> bool
|
|
58
|
+
def roughness_enabled?: () -> bool
|
|
59
|
+
def roughness_factor: () -> Float
|
|
60
|
+
def roughness_factor=: (Float factor) -> Float
|
|
61
|
+
def roughness_texture: () -> Sketchup::Texture
|
|
62
|
+
def roughness_texture=: (String image_path) -> String
|
|
63
|
+
| (Sketchup::ImageRep image_rep) -> Sketchup::ImageRep
|
|
64
|
+
| (Sketchup::Texture texture) -> Sketchup::Texture
|
|
65
|
+
def save_as: (String filename) -> bool
|
|
66
|
+
def texture: () -> Sketchup::Texture?
|
|
67
|
+
def texture=: (String filename) -> String
|
|
68
|
+
| ([ String, Length, Length ] properties) -> [ String, Length, Length ]
|
|
69
|
+
| ([ String, Length ] properties) -> [ String, Length ]
|
|
70
|
+
| (Sketchup::ImageRep image_rep) -> Sketchup::ImageRep
|
|
71
|
+
def use_alpha?: () -> bool
|
|
72
|
+
def workflow: () -> Integer
|
|
73
|
+
def write_thumbnail: (String path, Integer max_size) -> bool?
|
|
74
|
+
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::Materials < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::Material]
|
|
5
|
+
def []: (Integer index) -> Sketchup::Material?
|
|
6
|
+
| (String name) -> Sketchup::Material?
|
|
7
|
+
def add: (String name) -> Sketchup::Material
|
|
8
|
+
def add_observer: (untyped observer) -> bool
|
|
9
|
+
def at: (Integer index) -> Sketchup::Material?
|
|
10
|
+
| (String name) -> Sketchup::Material?
|
|
11
|
+
def count: () -> Integer
|
|
12
|
+
def current: () -> Sketchup::Material
|
|
13
|
+
def current=: (Sketchup::Material material) -> Sketchup::Material
|
|
14
|
+
def each: () ?{ (Sketchup::Material material) -> untyped } -> Sketchup::Materials
|
|
15
|
+
def length: () -> Integer
|
|
16
|
+
def load: (String filename) -> Sketchup::Material
|
|
17
|
+
def purge_unused: () -> Sketchup::Materials
|
|
18
|
+
def remove: (Sketchup::Material material) -> bool
|
|
19
|
+
def remove_observer: (untyped observer) -> bool
|
|
20
|
+
def size: () -> Integer
|
|
21
|
+
def unique_name: (String name) -> String
|
|
22
|
+
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::MaterialsObserver
|
|
4
|
+
def onMaterialAdd: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
5
|
+
def onMaterialChange: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
6
|
+
def onMaterialRefChange: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
7
|
+
def onMaterialRemove: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
8
|
+
def onMaterialSetCurrent: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
9
|
+
def onMaterialUndoRedo: (Sketchup::Materials materials, Sketchup::Material material) -> nil
|
|
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::Menu
|
|
4
|
+
def add_item: (String title) ?{ (*untyped) -> untyped } -> Integer
|
|
5
|
+
| (UI::Command command) -> Integer
|
|
6
|
+
def add_separator: () -> nil
|
|
7
|
+
def add_submenu: (String title) -> Sketchup::Menu
|
|
8
|
+
def set_validation_proc: (Integer item) ?{ (*untyped) -> untyped } -> untyped
|
|
9
|
+
end
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Model
|
|
4
|
+
LOAD_STATUS_SUCCESS: Integer
|
|
5
|
+
LOAD_STATUS_SUCCESS_MORE_RECENT: Integer
|
|
6
|
+
Make: Integer
|
|
7
|
+
MakeTrial: Integer
|
|
8
|
+
ProLicensed: Integer
|
|
9
|
+
ProTrial: Integer
|
|
10
|
+
VERSION_2013: Integer
|
|
11
|
+
VERSION_2014: Integer
|
|
12
|
+
VERSION_2015: Integer
|
|
13
|
+
VERSION_2016: Integer
|
|
14
|
+
VERSION_2017: Integer
|
|
15
|
+
VERSION_2018: Integer
|
|
16
|
+
VERSION_2019: Integer
|
|
17
|
+
VERSION_2020: Integer
|
|
18
|
+
VERSION_2021: Integer
|
|
19
|
+
VERSION_3: Integer
|
|
20
|
+
VERSION_4: Integer
|
|
21
|
+
VERSION_5: Integer
|
|
22
|
+
VERSION_6: Integer
|
|
23
|
+
VERSION_7: Integer
|
|
24
|
+
VERSION_8: Integer
|
|
25
|
+
def abort_operation: () -> bool
|
|
26
|
+
def active_entities: () -> Sketchup::Entities
|
|
27
|
+
def active_layer: () -> Sketchup::Layer
|
|
28
|
+
def active_layer=: (Sketchup::Layer layer) -> Sketchup::Layer
|
|
29
|
+
def active_path: () -> Array[Sketchup::Drawingelement]?
|
|
30
|
+
def active_path=: ((Sketchup::InstancePath | Array[Sketchup::ComponentInstance | Sketchup::Group])? instance_path) -> Sketchup::Model
|
|
31
|
+
def active_section_planes: () -> Array[Sketchup::SectionPlane]
|
|
32
|
+
def active_view: () -> Sketchup::View
|
|
33
|
+
def add_note: (String note, Numeric x, Numeric y) -> Sketchup::Text
|
|
34
|
+
def add_observer: (untyped observer) -> bool
|
|
35
|
+
def attribute_dictionaries: () -> Sketchup::AttributeDictionaries
|
|
36
|
+
def attribute_dictionary: (String name, ?bool create) -> Sketchup::AttributeDictionary
|
|
37
|
+
def axes: () -> Sketchup::Axes
|
|
38
|
+
def behavior: () -> Sketchup::Behavior
|
|
39
|
+
def bounds: () -> Geom::BoundingBox
|
|
40
|
+
def classifications: () -> Sketchup::Classifications
|
|
41
|
+
def close: (?bool ignore_changes) -> nil
|
|
42
|
+
def close_active: () -> bool
|
|
43
|
+
def commit_operation: () -> bool
|
|
44
|
+
def definitions: () -> Sketchup::DefinitionList
|
|
45
|
+
def description: () -> String
|
|
46
|
+
def description=: (String description) -> String
|
|
47
|
+
def drawing_element_visible?: (Sketchup::InstancePath | Array[Sketchup::Drawingelement] instance_path) -> bool
|
|
48
|
+
def edit_transform: () -> Geom::Transformation
|
|
49
|
+
def entities: () -> Sketchup::Entities
|
|
50
|
+
def environments: () -> Sketchup::Environments
|
|
51
|
+
def export: (String path, ?bool show_summary) -> bool
|
|
52
|
+
| (String path, Hash[untyped, untyped] options) -> bool
|
|
53
|
+
def find_entity_by_id: (Array[Integer | String] ids_or_array) -> Array[Sketchup::Entity?]
|
|
54
|
+
def find_entity_by_persistent_id: (Array[Integer] ids_or_array) -> (Sketchup::Entity | Array[Sketchup::Entity])?
|
|
55
|
+
| (Array[Integer] ids_or_array, **Hash[Symbol, bool] scope) -> (Sketchup::Entity | Array[Sketchup::Entity])?
|
|
56
|
+
def georeferenced?: () -> bool
|
|
57
|
+
def get_attribute: (String dictname, String key, ?untyped defaultvalue) -> untyped
|
|
58
|
+
def get_datum: () -> String
|
|
59
|
+
def get_product_family: () -> Integer
|
|
60
|
+
def guid: () -> String
|
|
61
|
+
def import: (String path, Hash[untyped, untyped] options) -> bool
|
|
62
|
+
| (String path, ?bool show_summary) -> bool
|
|
63
|
+
def instance_path_from_pid_path: (String pid_path) -> Sketchup::InstancePath
|
|
64
|
+
def latlong_to_point: ([ Numeric, Numeric ] lnglat_array) -> untyped
|
|
65
|
+
| ([ Numeric, Numeric, Numeric ] lnglat_array) -> untyped
|
|
66
|
+
def layers: () -> Sketchup::Layers
|
|
67
|
+
def line_styles: () -> Sketchup::LineStyles
|
|
68
|
+
def list_datums: () -> Array[String]
|
|
69
|
+
def materials: () -> Sketchup::Materials
|
|
70
|
+
def mipmapping=: (bool mipmap) -> bool
|
|
71
|
+
def mipmapping?: () -> bool
|
|
72
|
+
def modified?: () -> bool
|
|
73
|
+
def name: () -> String
|
|
74
|
+
def name=: (String name) -> String
|
|
75
|
+
def number_faces: () -> Integer
|
|
76
|
+
def options: () -> Sketchup::OptionsManager
|
|
77
|
+
def overlays: () -> Sketchup::OverlaysManager
|
|
78
|
+
def pages: () -> Sketchup::Pages
|
|
79
|
+
def path: () -> String
|
|
80
|
+
def place_component: (Sketchup::ComponentDefinition componentdef, ?bool repeat) -> Sketchup::Model?
|
|
81
|
+
def point_to_latlong: (Geom::Point3d point) -> Geom::Point3d
|
|
82
|
+
def point_to_utm: (Geom::Point3d point) -> Geom::UTM
|
|
83
|
+
def raytest: ([ Geom::Point3d, Geom::Vector3d ] ray, ?bool wysiwyg_flag) -> [ Geom::Point3d, Array[Sketchup::Drawingelement] ]?
|
|
84
|
+
def remove_observer: (untyped observer) -> bool
|
|
85
|
+
def rendering_options: () -> Sketchup::RenderingOptions
|
|
86
|
+
def save: () -> untyped
|
|
87
|
+
| (String path) -> untyped
|
|
88
|
+
| (String path, Integer version) -> untyped
|
|
89
|
+
def save_copy: (String path) -> untyped
|
|
90
|
+
| (String path, Integer version) -> untyped
|
|
91
|
+
def save_thumbnail: (String filename) -> bool
|
|
92
|
+
def select_tool: (untyped tool) -> Sketchup::Model
|
|
93
|
+
def selection: () -> Sketchup::Selection
|
|
94
|
+
def set_attribute: (String attrdictname, String key, untyped value) -> untyped
|
|
95
|
+
def set_datum: (String datum) -> nil
|
|
96
|
+
def shadow_info: () -> Sketchup::ShadowInfo
|
|
97
|
+
def start_operation: (String op_name, ?bool disable_ui, ?bool next_transparent, ?bool transparent) -> bool
|
|
98
|
+
def styles: () -> Sketchup::Styles
|
|
99
|
+
def tags: () -> String
|
|
100
|
+
def tags=: (String tags) -> String
|
|
101
|
+
def title: () -> String
|
|
102
|
+
def tools: () -> Sketchup::Tools
|
|
103
|
+
def utm_to_point: (Geom::UTM utm) -> Geom::Point3d
|
|
104
|
+
def valid?: () -> bool
|
|
105
|
+
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::ModelObserver
|
|
4
|
+
def onActivePathChanged: (Sketchup::Model model) -> nil
|
|
5
|
+
def onAfterComponentSaveAs: (Sketchup::Model model) -> nil
|
|
6
|
+
def onBeforeComponentSaveAs: (Sketchup::Model model) -> nil
|
|
7
|
+
%a{deprecated}
|
|
8
|
+
def onDeleteModel: (Sketchup::Model model) -> nil
|
|
9
|
+
%a{deprecated}
|
|
10
|
+
def onEraseAll: (Sketchup::Model model) -> nil
|
|
11
|
+
def onExplode: (Sketchup::Model model) -> nil
|
|
12
|
+
def onPidChanged: (Sketchup::Model model, Integer old_pid, Integer new_pid) -> nil
|
|
13
|
+
def onPlaceComponent: (Sketchup::Model model) -> nil
|
|
14
|
+
def onPostSaveModel: (Sketchup::Model model) -> nil
|
|
15
|
+
def onPreSaveModel: (Sketchup::Model model) -> nil
|
|
16
|
+
def onSaveModel: (Sketchup::Model model) -> nil
|
|
17
|
+
def onTransactionAbort: (Sketchup::Model model) -> nil
|
|
18
|
+
def onTransactionCommit: (Sketchup::Model model) -> nil
|
|
19
|
+
def onTransactionEmpty: (Sketchup::Model model) -> nil
|
|
20
|
+
def onTransactionRedo: (Sketchup::Model model) -> nil
|
|
21
|
+
def onTransactionStart: (Sketchup::Model model) -> nil
|
|
22
|
+
def onTransactionUndo: (Sketchup::Model model) -> nil
|
|
23
|
+
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::OptionsManager
|
|
4
|
+
include Enumerable[Sketchup::OptionsProvider]
|
|
5
|
+
def []: (untyped index) -> untyped
|
|
6
|
+
| (untyped name) -> untyped
|
|
7
|
+
def count: () -> untyped
|
|
8
|
+
def each: () ?{ (Sketchup::OptionsProvider provider) -> untyped } -> nil
|
|
9
|
+
def keys: () -> untyped
|
|
10
|
+
def length: () -> Integer
|
|
11
|
+
def size: () -> Integer
|
|
12
|
+
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::OptionsProvider
|
|
4
|
+
include Enumerable[untyped]
|
|
5
|
+
def []: (untyped index) -> untyped
|
|
6
|
+
| (untyped name) -> untyped
|
|
7
|
+
def []=: (untyped key, untyped value) -> untyped
|
|
8
|
+
|
|
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 each_value: () ?{ (untyped value) -> untyped } -> nil
|
|
15
|
+
def has_key?: (String name) -> bool
|
|
16
|
+
def key?: (String name) -> bool
|
|
17
|
+
def keys: () -> untyped
|
|
18
|
+
def length: () -> Integer
|
|
19
|
+
def name: () -> untyped
|
|
20
|
+
|
|
21
|
+
def remove_observer: (untyped observer) -> bool
|
|
22
|
+
def size: () -> Integer
|
|
23
|
+
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::Overlay
|
|
4
|
+
def description: () -> String
|
|
5
|
+
def description=: (untyped description) -> String
|
|
6
|
+
def draw: (Sketchup::View view) -> untyped
|
|
7
|
+
def enabled=: (bool enabled) -> bool
|
|
8
|
+
def enabled?: () -> bool
|
|
9
|
+
def getExtents: () -> Geom::BoundingBox
|
|
10
|
+
def initialize: (String id, String name, ?description: String) -> void
|
|
11
|
+
def name: () -> String
|
|
12
|
+
def onMouseEnter: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
13
|
+
def onMouseLeave: (Sketchup::View view) -> untyped
|
|
14
|
+
def onMouseMove: (Integer flags, Integer x, Integer y, Sketchup::View view) -> untyped
|
|
15
|
+
| (Integer flags, Float x, Float y, Sketchup::View view) -> untyped
|
|
16
|
+
def overlay_id: () -> String
|
|
17
|
+
def source: () -> String
|
|
18
|
+
def start: () -> untyped
|
|
19
|
+
def stop: () -> untyped
|
|
20
|
+
def valid?: () -> bool
|
|
21
|
+
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::OverlaysManager
|
|
4
|
+
include Enumerable[Sketchup::Overlay]
|
|
5
|
+
def []: (untyped index) -> Sketchup::Overlay
|
|
6
|
+
def add: (untyped service) -> bool
|
|
7
|
+
def each: () ?{ (Sketchup::Overlay overlay) -> untyped } -> nil
|
|
8
|
+
def remove: (untyped service) -> bool
|
|
9
|
+
def size: () -> Integer
|
|
10
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Page < Sketchup::Entity
|
|
4
|
+
def active_section_planes: () -> Array[Sketchup::SectionPlane]?
|
|
5
|
+
def axes: () -> Sketchup::Axes
|
|
6
|
+
def camera: () -> Sketchup::Camera
|
|
7
|
+
def delay_time: () -> Float
|
|
8
|
+
def delay_time=: (Float seconds) -> Float
|
|
9
|
+
def description: () -> String
|
|
10
|
+
def description=: (String description) -> String
|
|
11
|
+
def environment: () -> Sketchup::Environment
|
|
12
|
+
def environment=: (Sketchup::Environment environment) -> Sketchup::Environment
|
|
13
|
+
def get_drawingelement_visibility: (Sketchup::Drawingelement element) -> bool
|
|
14
|
+
def hidden_entities: () -> Array[Sketchup::Drawingelement]?
|
|
15
|
+
def include_in_animation=: (bool) -> bool
|
|
16
|
+
def include_in_animation?: () -> bool
|
|
17
|
+
def label: () -> String
|
|
18
|
+
def layer_folders: () -> Array[Sketchup::LayerFolder]?
|
|
19
|
+
def layers: () -> Array[Sketchup::Layer]?
|
|
20
|
+
def name: () -> String
|
|
21
|
+
def name=: (String name) -> String
|
|
22
|
+
def rendering_options: () -> Sketchup::RenderingOptions
|
|
23
|
+
def set_drawingelement_visibility: (Sketchup::Drawingelement element, bool visibility) -> bool
|
|
24
|
+
def set_visibility: (Sketchup::Layer layer, bool visible_for_page) -> untyped
|
|
25
|
+
| (Sketchup::LayerFolder layer_folder, bool visible_for_page) -> untyped
|
|
26
|
+
def shadow_info: () -> Sketchup::ShadowInfo
|
|
27
|
+
def style: () -> Sketchup::Style
|
|
28
|
+
def transition_time: () -> Float
|
|
29
|
+
def transition_time=: (Float trans_time) -> Float
|
|
30
|
+
def update: (Integer flags) -> bool
|
|
31
|
+
def use_axes=: (bool setting) -> bool
|
|
32
|
+
def use_axes?: () -> bool
|
|
33
|
+
def use_camera=: (bool setting) -> bool
|
|
34
|
+
def use_camera?: () -> bool
|
|
35
|
+
def use_environment=: (bool use_environment) -> bool
|
|
36
|
+
def use_environment?: () -> bool
|
|
37
|
+
%a{deprecated}
|
|
38
|
+
def use_hidden=: (bool setting) -> bool
|
|
39
|
+
%a{deprecated}
|
|
40
|
+
def use_hidden?: () -> bool
|
|
41
|
+
def use_hidden_geometry=: (bool setting) -> bool
|
|
42
|
+
def use_hidden_geometry?: () -> bool
|
|
43
|
+
def use_hidden_layers=: (bool setting) -> bool
|
|
44
|
+
def use_hidden_layers?: () -> bool
|
|
45
|
+
def use_hidden_objects=: (bool setting) -> bool
|
|
46
|
+
def use_hidden_objects?: () -> bool
|
|
47
|
+
def use_rendering_options=: (bool use_options) -> bool
|
|
48
|
+
def use_rendering_options?: () -> bool
|
|
49
|
+
def use_section_planes=: (bool setting) -> bool
|
|
50
|
+
def use_section_planes?: () -> bool
|
|
51
|
+
def use_shadow_info=: (bool setting) -> bool
|
|
52
|
+
def use_shadow_info?: () -> bool
|
|
53
|
+
def use_style=: (Sketchup::Style style) -> Sketchup::Style
|
|
54
|
+
def use_style?: () -> bool
|
|
55
|
+
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::Pages < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::Page]
|
|
5
|
+
def self.add_frame_change_observer: (untyped object) -> Integer
|
|
6
|
+
def self.remove_frame_change_observer: (Integer observer_id) -> bool
|
|
7
|
+
def []: (Integer | String index_or_name) -> Sketchup::Page
|
|
8
|
+
def add: (?String name, ?Integer flags, ?Integer index) -> Sketchup::Page
|
|
9
|
+
def add_matchphoto_page: (String image_filename, ?Sketchup::Camera camera, ?String page_name) -> Sketchup::Page
|
|
10
|
+
|
|
11
|
+
def add_observer: (untyped observer) -> bool
|
|
12
|
+
def count: () -> Integer
|
|
13
|
+
def each: () ?{ (Sketchup::Page page) -> untyped } -> nil
|
|
14
|
+
def erase: (Sketchup::Page page) -> bool
|
|
15
|
+
def length: () -> Integer
|
|
16
|
+
def parent: () -> Sketchup::Model
|
|
17
|
+
def remove_observer: (untyped observer) -> bool
|
|
18
|
+
def reorder: (Sketchup::Page page, Integer new_index) -> nil
|
|
19
|
+
def selected_page: () -> Sketchup::Page
|
|
20
|
+
def selected_page=: (Sketchup::Page page) -> bool
|
|
21
|
+
def show_frame_at: (Float seconds) -> [ Sketchup::Page, Float ]?
|
|
22
|
+
def size: () -> Integer
|
|
23
|
+
def slideshow_time: () -> Float
|
|
24
|
+
def unique_name: (String base_name) -> String
|
|
25
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::PagesObserver < Sketchup::EntitiesObserver
|
|
4
|
+
def onContentsModified: (Sketchup::Pages pages) -> nil
|
|
5
|
+
def onElementAdded: (Sketchup::Pages pages, Sketchup::Page page) -> nil
|
|
6
|
+
def onElementRemoved: (Sketchup::Pages pages, Sketchup::Page page) -> nil
|
|
7
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::PickHelper
|
|
4
|
+
PICK_CROSSING: Integer
|
|
5
|
+
PICK_INSIDE: Integer
|
|
6
|
+
def all_picked: () -> untyped
|
|
7
|
+
def best_picked: () -> untyped
|
|
8
|
+
def boundingbox_pick: (Geom::BoundingBox bounding_box, Integer pick_type, ?Geom::Transformation transformation) -> Integer
|
|
9
|
+
def count: () -> untyped
|
|
10
|
+
def depth_at: (untyped index) -> untyped
|
|
11
|
+
def do_pick: (Integer x, Integer y, ?Integer aperture) -> Integer
|
|
12
|
+
| (Float x, Float y, ?Float aperture) -> Integer
|
|
13
|
+
def element_at: (untyped index) -> untyped
|
|
14
|
+
def init: (Integer x, Integer y, ?Integer aperture) -> untyped
|
|
15
|
+
def leaf_at: (untyped index) -> untyped
|
|
16
|
+
def path_at: (untyped index) -> untyped
|
|
17
|
+
def pick_segment: (Array[Geom::Point3d] points) -> (Integer | false)
|
|
18
|
+
| (Array[Geom::Point3d] points, Integer x, Integer y, ?untyped aperture) -> (Integer | false)
|
|
19
|
+
def picked_edge: () -> untyped
|
|
20
|
+
def picked_element: () -> untyped
|
|
21
|
+
| (Integer index) -> untyped
|
|
22
|
+
def picked_face: () -> untyped
|
|
23
|
+
def test_point: (Geom::Point3d point) -> untyped
|
|
24
|
+
| (Geom::Point3d point, Integer x, Integer y, ?Integer aperture) -> untyped
|
|
25
|
+
def transformation_at: (untyped index) -> untyped
|
|
26
|
+
def view: () -> Sketchup::View
|
|
27
|
+
def window_pick: (Geom::Point3d start_point, Geom::Point3d end_point, Integer pick_type) -> Integer
|
|
28
|
+
end
|