scriptup 2026.0.1 → 2026.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -24
- data/ext/arc_curve.c +50 -0
- data/ext/attribute_dictionaries.c +49 -32
- data/ext/attribute_dictionary.c +54 -127
- data/ext/axes.c +79 -0
- data/ext/behavior.c +100 -9
- data/ext/bounding_box.c +195 -0
- data/ext/camera.c +178 -0
- data/ext/classifications.c +85 -0
- data/ext/color.c +91 -163
- data/ext/component_definition.c +78 -162
- data/ext/component_instance.c +88 -9
- data/ext/construction.c +59 -0
- data/ext/curve.c +87 -0
- data/ext/definition_list.c +89 -109
- data/ext/depend +1 -0
- data/ext/drawing_element.c +96 -117
- data/ext/edge.c +147 -0
- data/ext/edge_use.c +37 -0
- data/ext/entities.c +573 -16
- data/ext/entities_builder.c +145 -0
- data/ext/entity.c +175 -215
- data/ext/environments.c +149 -0
- data/ext/extconf.rb +54 -10
- data/ext/face.c +331 -0
- data/ext/geom.c +172 -0
- data/ext/group.c +86 -0
- data/ext/helpers.c +244 -0
- data/ext/image.c +182 -0
- data/ext/image_rep.c +158 -0
- data/ext/instance_path.c +185 -0
- data/ext/lat_long.c +88 -0
- data/ext/layer.c +98 -0
- data/ext/layer_folder.c +99 -0
- data/ext/layers.c +122 -0
- data/ext/length.c +253 -0
- data/ext/line_styles.c +60 -0
- data/ext/loop.c +24 -0
- data/ext/material.c +144 -197
- data/ext/materials.c +49 -60
- data/ext/model.c +232 -26
- data/ext/options_store.c +188 -0
- data/ext/page.c +168 -0
- data/ext/pages.c +135 -0
- data/ext/point2d.c +195 -0
- data/ext/point3d.c +340 -0
- data/ext/polygon_mesh.c +253 -0
- data/ext/scriptup.h +279 -0
- data/ext/section_plane.c +44 -0
- data/ext/sketchup.c +102 -76
- data/ext/styles.c +91 -0
- data/ext/text.c +135 -0
- data/ext/texture.c +74 -83
- data/ext/texture_writer.c +104 -0
- data/ext/transformation.c +309 -0
- data/ext/transformation2d.c +190 -0
- data/ext/uv_helper.c +41 -0
- data/ext/vector2d.c +238 -0
- data/ext/vector3d.c +294 -0
- data/ext/vertex.c +67 -0
- data/lib/sketchup.rb +2 -2
- data/sig/_top_level.rbs +188 -0
- data/sig/array.rbs +52 -0
- data/sig/geom/bounding_box.rbs +28 -0
- data/sig/geom/bounds2d.rbs +20 -0
- data/sig/geom/lat_long.rbs +13 -0
- data/sig/geom/oriented_bounds2d.rbs +10 -0
- data/sig/geom/point2d.rbs +32 -0
- data/sig/geom/point3d.rbs +46 -0
- data/sig/geom/polygon_mesh.rbs +35 -0
- data/sig/geom/transformation.rbs +44 -0
- data/sig/geom/transformation2d.rbs +26 -0
- data/sig/geom/utm.rbs +14 -0
- data/sig/geom/vector2d.rbs +40 -0
- data/sig/geom/vector3d.rbs +49 -0
- data/sig/geom.rbs +25 -0
- data/sig/language_handler.rbs +8 -0
- data/sig/layout/angular_dimension.rbs +32 -0
- data/sig/layout/auto_text_definition.rbs +73 -0
- data/sig/layout/auto_text_definitions.rbs +15 -0
- data/sig/layout/connection_point.rbs +6 -0
- data/sig/layout/dictionary.rbs +18 -0
- data/sig/layout/document.rbs +61 -0
- data/sig/layout/ellipse.rbs +5 -0
- data/sig/layout/entities.rbs +10 -0
- data/sig/layout/entity.rbs +28 -0
- data/sig/layout/formatted_text.rbs +30 -0
- data/sig/layout/grid.rbs +24 -0
- data/sig/layout/group.rbs +17 -0
- data/sig/layout/image.rbs +7 -0
- data/sig/layout/label.rbs +31 -0
- data/sig/layout/layer.rbs +21 -0
- data/sig/layout/layer_instance.rbs +9 -0
- data/sig/layout/layers.rbs +18 -0
- data/sig/layout/linear_dimension.rbs +39 -0
- data/sig/layout/locked_entity_error.rbs +4 -0
- data/sig/layout/locked_layer_error.rbs +4 -0
- data/sig/layout/page.rbs +20 -0
- data/sig/layout/page_info.rbs +37 -0
- data/sig/layout/pages.rbs +17 -0
- data/sig/layout/path.rbs +34 -0
- data/sig/layout/rectangle.rbs +15 -0
- data/sig/layout/reference_entity.rbs +7 -0
- data/sig/layout/sketch_up_model.rbs +54 -0
- data/sig/layout/style.rbs +150 -0
- data/sig/layout/table.rbs +17 -0
- data/sig/layout/table_cell.rbs +13 -0
- data/sig/layout/table_column.rbs +10 -0
- data/sig/layout/table_row.rbs +10 -0
- data/sig/layout.rbs +4 -0
- data/sig/length.rbs +37 -0
- data/sig/numeric.rbs +23 -0
- data/sig/sketchup/animation.rbs +8 -0
- data/sig/sketchup/app_observer.rbs +11 -0
- data/sig/sketchup/arc_curve.rbs +14 -0
- data/sig/sketchup/attribute_dictionaries.rbs +11 -0
- data/sig/sketchup/attribute_dictionary.rbs +18 -0
- data/sig/sketchup/axes.rbs +13 -0
- data/sig/sketchup/behavior.rbs +19 -0
- data/sig/sketchup/camera.rbs +33 -0
- data/sig/sketchup/classification_schema.rbs +8 -0
- data/sig/sketchup/classifications.rbs +12 -0
- data/sig/sketchup/color.rbs +22 -0
- data/sig/sketchup/component_definition.rbs +43 -0
- data/sig/sketchup/component_instance.rbs +32 -0
- data/sig/sketchup/console.rbs +8 -0
- data/sig/sketchup/construction_line.rbs +17 -0
- data/sig/sketchup/construction_point.rbs +5 -0
- data/sig/sketchup/curve.rbs +13 -0
- data/sig/sketchup/definition_list.rbs +26 -0
- data/sig/sketchup/definition_observer.rbs +6 -0
- data/sig/sketchup/definitions_observer.rbs +8 -0
- data/sig/sketchup/dimension.rbs +18 -0
- data/sig/sketchup/dimension_linear.rbs +24 -0
- data/sig/sketchup/dimension_observer.rbs +5 -0
- data/sig/sketchup/dimension_radial.rbs +9 -0
- data/sig/sketchup/drawingelement.rbs +18 -0
- data/sig/sketchup/edge.rbs +24 -0
- data/sig/sketchup/edge_use.rbs +13 -0
- data/sig/sketchup/entities.rbs +61 -0
- data/sig/sketchup/entities_builder.rbs +15 -0
- data/sig/sketchup/entities_observer.rbs +9 -0
- data/sig/sketchup/entity.rbs +21 -0
- data/sig/sketchup/entity_observer.rbs +6 -0
- data/sig/sketchup/environment.rbs +25 -0
- data/sig/sketchup/environments.rbs +18 -0
- data/sig/sketchup/environments_observer.rbs +8 -0
- data/sig/sketchup/extensions_manager.rbs +11 -0
- data/sig/sketchup/face.rbs +44 -0
- data/sig/sketchup/frame_change_observer.rbs +5 -0
- data/sig/sketchup/group.rbs +38 -0
- data/sig/sketchup/http/request.rbs +17 -0
- data/sig/sketchup/http/response.rbs +7 -0
- data/sig/sketchup/http.rbs +27 -0
- data/sig/sketchup/image.rbs +23 -0
- data/sig/sketchup/image_rep.rbs +17 -0
- data/sig/sketchup/importer.rbs +14 -0
- data/sig/sketchup/input_point.rbs +25 -0
- data/sig/sketchup/instance_observer.rbs +6 -0
- data/sig/sketchup/instance_path.rbs +20 -0
- data/sig/sketchup/layer.rbs +20 -0
- data/sig/sketchup/layer_folder.rbs +26 -0
- data/sig/sketchup/layers.rbs +30 -0
- data/sig/sketchup/layers_observer.rbs +13 -0
- data/sig/sketchup/licensing/extension_license.rbs +8 -0
- data/sig/sketchup/licensing.rbs +15 -0
- data/sig/sketchup/line_style.rbs +5 -0
- data/sig/sketchup/line_styles.rbs +13 -0
- data/sig/sketchup/load_handler.rbs +8 -0
- data/sig/sketchup/loop.rbs +10 -0
- data/sig/sketchup/material.rbs +74 -0
- data/sig/sketchup/materials.rbs +22 -0
- data/sig/sketchup/materials_observer.rbs +10 -0
- data/sig/sketchup/menu.rbs +9 -0
- data/sig/sketchup/model.rbs +105 -0
- data/sig/sketchup/model_observer.rbs +23 -0
- data/sig/sketchup/options_manager.rbs +12 -0
- data/sig/sketchup/options_provider.rbs +23 -0
- data/sig/sketchup/options_provider_observer.rbs +5 -0
- data/sig/sketchup/overlay.rbs +21 -0
- data/sig/sketchup/overlays_manager.rbs +10 -0
- data/sig/sketchup/page.rbs +55 -0
- data/sig/sketchup/pages.rbs +25 -0
- data/sig/sketchup/pages_observer.rbs +7 -0
- data/sig/sketchup/pick_helper.rbs +28 -0
- data/sig/sketchup/regional_settings.rbs +7 -0
- data/sig/sketchup/rendering_options.rbs +89 -0
- data/sig/sketchup/rendering_options_observer.rbs +5 -0
- data/sig/sketchup/section_plane.rbs +12 -0
- data/sig/sketchup/selection.rbs +31 -0
- data/sig/sketchup/selection_observer.rbs +8 -0
- data/sig/sketchup/set.rbs +15 -0
- data/sig/sketchup/shadow_info.rbs +18 -0
- data/sig/sketchup/shadow_info_observer.rbs +5 -0
- data/sig/sketchup/skp.rbs +5 -0
- data/sig/sketchup/snap.rbs +10 -0
- data/sig/sketchup/style.rbs +9 -0
- data/sig/sketchup/styles.rbs +21 -0
- data/sig/sketchup/text.rbs +22 -0
- data/sig/sketchup/texture.rbs +14 -0
- data/sig/sketchup/texture_writer.rbs +14 -0
- data/sig/sketchup/tool.rbs +45 -0
- data/sig/sketchup/tools.rbs +14 -0
- data/sig/sketchup/tools_observer.rbs +6 -0
- data/sig/sketchup/uv_helper.rbs +6 -0
- data/sig/sketchup/vertex.rbs +11 -0
- data/sig/sketchup/view.rbs +87 -0
- data/sig/sketchup/view_observer.rbs +6 -0
- data/sig/sketchup.rbs +137 -0
- data/sig/sketchup_extension.rbs +23 -0
- data/sig/string.rbs +5 -0
- data/sig/ui/command.rbs +20 -0
- data/sig/ui/html_dialog.rbs +29 -0
- data/sig/ui/notification.rbs +16 -0
- data/sig/ui/toolbar.rbs +18 -0
- data/sig/ui/web_dialog.rbs +38 -0
- data/sig/ui.rbs +66 -0
- metadata +204 -287
- data/ext/attribute_dictionaries.h +0 -8
- data/ext/attribute_dictionary.h +0 -8
- data/ext/behavior.h +0 -8
- data/ext/color.h +0 -8
- data/ext/component_definition.h +0 -8
- data/ext/component_instance.h +0 -8
- data/ext/definition_list.h +0 -8
- data/ext/drawing_element.h +0 -8
- data/ext/entities.h +0 -8
- data/ext/entity.h +0 -8
- data/ext/material.h +0 -8
- data/ext/materials.h +0 -8
- data/ext/model.h +0 -8
- data/ext/not_implemented.c +0 -88
- data/ext/not_implemented.h +0 -20
- data/ext/sketchup.h +0 -9
- data/ext/texture.h +0 -8
- data/ext/typed_value.c +0 -84
- data/ext/typed_value.h +0 -11
- data/ext/utils.h +0 -111
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeometry.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeoutils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonImage.dylib +0 -4
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonPreferences.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUnits.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUtils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonZip.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -262
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -629
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -224
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -879
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -189
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environment.h +0 -382
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environments.h +0 -133
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -702
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -695
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -245
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -289
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -797
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1826
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -180
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -1016
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/snap.h +0 -183
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/space.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -192
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -392
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -380
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -891
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutView.dll +0 -4
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
- data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
- data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
- data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
- data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
- data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
- data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -937
- data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -402
- data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
- data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
- data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
- data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -244
- data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
- data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
- data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
- data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
- data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -508
- data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -331
- data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
- data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
- data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
- data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
- data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -681
- data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1116
- data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -472
- data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
- data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
- data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -262
- data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
- data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
- data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
- data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
- data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
- data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
- data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
- data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -629
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
- data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
- data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -224
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
- data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -879
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -189
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environment.h +0 -382
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environments.h +0 -133
- data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -702
- data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -695
- data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -245
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -289
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
- data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
- data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
- data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -797
- data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1826
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
- data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
- data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
- data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -1016
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
- data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
- data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
- data/sketchup-sdk-win/headers/SketchUpAPI/model/snap.h +0 -183
- data/sketchup-sdk-win/headers/SketchUpAPI/model/space.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
- data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -192
- data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -392
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -380
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
- data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
- data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::SketchUpModel < Layout::Entity
|
|
4
|
+
BOTTOM_RELATIVE_VIEW: Integer
|
|
5
|
+
BOTTOM_VIEW: Integer
|
|
6
|
+
BACK_VIEW: Integer
|
|
7
|
+
CUSTOM_VIEW: Integer
|
|
8
|
+
FRONT_VIEW: Integer
|
|
9
|
+
HYBRID_RENDER: Integer
|
|
10
|
+
ISO_VIEW: Integer
|
|
11
|
+
LEFT_VIEW: Integer
|
|
12
|
+
NO_OVERRIDE: Integer
|
|
13
|
+
RASTER_RENDER: Integer
|
|
14
|
+
RIGHT_VIEW: Integer
|
|
15
|
+
TOP_RELATIVE_VIEW: Integer
|
|
16
|
+
TOP_VIEW: Integer
|
|
17
|
+
VECTOR_RENDER: Integer
|
|
18
|
+
def camera_modified?: () -> bool
|
|
19
|
+
def clip_mask: () -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
20
|
+
def clip_mask=: ((Layout::Ellipse | Layout::Path | Layout::Rectangle)? clip_mask) -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
21
|
+
def current_scene: () -> Integer
|
|
22
|
+
def current_scene=: (Integer index) -> Integer
|
|
23
|
+
def current_scene_modified?: () -> bool
|
|
24
|
+
def dash_scale: () -> Float
|
|
25
|
+
def dash_scale=: (Float dash_scale) -> Float
|
|
26
|
+
def display_background=: (bool display) -> bool
|
|
27
|
+
def display_background?: () -> bool
|
|
28
|
+
def effects_modified?: () -> bool
|
|
29
|
+
def entities: () -> Layout::Entity
|
|
30
|
+
def initialize: (String path, Geom::Bounds2d bounds) -> void
|
|
31
|
+
def layers_modified?: () -> bool
|
|
32
|
+
def line_weight: () -> Float
|
|
33
|
+
def line_weight=: (Float line_weight) -> Float
|
|
34
|
+
def model_to_paper_point: (Geom::Point3d model_point) -> Geom::Point2d
|
|
35
|
+
def output_entities: () -> Layout::Entity
|
|
36
|
+
def perspective=: (bool perspective) -> bool
|
|
37
|
+
def perspective?: () -> bool
|
|
38
|
+
def preserve_scale_on_resize=: (bool preserve_scale) -> bool
|
|
39
|
+
def preserve_scale_on_resize?: () -> bool
|
|
40
|
+
def render: () -> untyped
|
|
41
|
+
def render_mode: () -> Integer
|
|
42
|
+
def render_mode=: (Integer render_mode) -> Integer
|
|
43
|
+
def render_needed?: () -> bool
|
|
44
|
+
def reset_camera: () -> untyped
|
|
45
|
+
def reset_effects: () -> untyped
|
|
46
|
+
def reset_layers: () -> untyped
|
|
47
|
+
def reset_style: () -> untyped
|
|
48
|
+
def scale: () -> Float
|
|
49
|
+
def scale=: (Float scale) -> Float
|
|
50
|
+
def scenes: () -> Array[String]
|
|
51
|
+
def style_modified?: () -> bool
|
|
52
|
+
def view: () -> Integer
|
|
53
|
+
def view=: (Integer view) -> Integer
|
|
54
|
+
end
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Style
|
|
4
|
+
ALIGN_CENTER: Integer
|
|
5
|
+
ALIGN_LEFT: Integer
|
|
6
|
+
ALIGN_RIGHT: Integer
|
|
7
|
+
ANCHOR_BOTTOM: Integer
|
|
8
|
+
ANCHOR_CENTER: Integer
|
|
9
|
+
ANCHOR_TOP: Integer
|
|
10
|
+
ARCHITECTURAL_INCHES: Integer
|
|
11
|
+
ARROW_FILLED_CIRCLE: Integer
|
|
12
|
+
ARROW_FILLED_DIAMOND: Integer
|
|
13
|
+
ARROW_FILLED_SKINNY_TRIANGLE: Integer
|
|
14
|
+
ARROW_FILLED_SQUARE: Integer
|
|
15
|
+
ARROW_FILLED_TRIANGLE: Integer
|
|
16
|
+
ARROW_NONE: Integer
|
|
17
|
+
ARROW_OPEN_ARROW_120: Integer
|
|
18
|
+
ARROW_OPEN_ARROW_90: Integer
|
|
19
|
+
ARROW_OPEN_CIRCLE: Integer
|
|
20
|
+
ARROW_OPEN_DIAMOND: Integer
|
|
21
|
+
ARROW_OPEN_SKINNY_TRIANGLE: Integer
|
|
22
|
+
ARROW_OPEN_SQUARE: Integer
|
|
23
|
+
ARROW_OPEN_TRIANGLE: Integer
|
|
24
|
+
ARROW_OVERRUN: Integer
|
|
25
|
+
ARROW_SLASH_LEFT: Integer
|
|
26
|
+
ARROW_SLASH_RIGHT: Integer
|
|
27
|
+
ARROW_STAR: Integer
|
|
28
|
+
ARROW_T: Integer
|
|
29
|
+
ARROW_UNDERRUN: Integer
|
|
30
|
+
CAP_STYLE_FLAT: Integer
|
|
31
|
+
CAP_STYLE_ROUND: Integer
|
|
32
|
+
CAP_STYLE_SQUARE: Integer
|
|
33
|
+
DIMENSION_TEXT_ABOVE: Integer
|
|
34
|
+
DIMENSION_TEXT_BELOW: Integer
|
|
35
|
+
DIMENSION_TEXT_CENTER: Integer
|
|
36
|
+
DIMENSION_TEXT_HORIZONTAL: Integer
|
|
37
|
+
DIMENSION_TEXT_OFFSET: Integer
|
|
38
|
+
DIMENSION_TEXT_PARALLEL: Integer
|
|
39
|
+
DIMENSION_TEXT_PERPENDICULAR: Integer
|
|
40
|
+
DIMENSION_TEXT_VERTICAL: Integer
|
|
41
|
+
DECIMAL_CENTIMETERS: Integer
|
|
42
|
+
DECIMAL_FEET: Integer
|
|
43
|
+
DECIMAL_INCHES: Integer
|
|
44
|
+
DECIMAL_METERS: Integer
|
|
45
|
+
DECIMAL_MILLIMETERS: Integer
|
|
46
|
+
DECIMAL_POINTS: Integer
|
|
47
|
+
DEGREES: Integer
|
|
48
|
+
DIMENSION_END_EXTENSION_LINE: Integer
|
|
49
|
+
DIMENSION_LEADER_LINE: Integer
|
|
50
|
+
DIMENSION_LINE: Integer
|
|
51
|
+
DIMENSION_START_EXTENSION_LINE: Integer
|
|
52
|
+
DIMENSION_TEXT: Integer
|
|
53
|
+
ENGINEERING_FEET: Integer
|
|
54
|
+
FRACTIONAL_INCHES: Integer
|
|
55
|
+
JOIN_STYLE_BEVEL: Integer
|
|
56
|
+
JOIN_STYLE_MITER: Integer
|
|
57
|
+
JOIN_STYLE_ROUND: Integer
|
|
58
|
+
LABEL_LEADER_LINE: Integer
|
|
59
|
+
LABEL_TEXT: Integer
|
|
60
|
+
NORMAL_SCRIPT: Integer
|
|
61
|
+
RADIANS: Integer
|
|
62
|
+
STROKE_PATTERN_CENTER: Integer
|
|
63
|
+
STROKE_PATTERN_DASH: Integer
|
|
64
|
+
STROKE_PATTERN_DASH_DASH_DOT: Integer
|
|
65
|
+
STROKE_PATTERN_DASH_DASH_DOT_DOT: Integer
|
|
66
|
+
STROKE_PATTERN_DASH_DASH_DOT_DOT_DOT: Integer
|
|
67
|
+
STROKE_PATTERN_DASH_DOT: Integer
|
|
68
|
+
STROKE_PATTERN_DASH_DOT_DOT: Integer
|
|
69
|
+
STROKE_PATTERN_DASH_DOT_DOT_DOT: Integer
|
|
70
|
+
STROKE_PATTERN_DASH_SPACE: Integer
|
|
71
|
+
STROKE_PATTERN_DOT: Integer
|
|
72
|
+
STROKE_PATTERN_PHANTOM: Integer
|
|
73
|
+
STROKE_PATTERN_SHORT_DASH: Integer
|
|
74
|
+
STROKE_PATTERN_SOLID: Integer
|
|
75
|
+
STRIKETHROUGH_NONE: Integer
|
|
76
|
+
STRIKETHROUGH_SINGLE: Integer
|
|
77
|
+
SUPER_SCRIPT: Integer
|
|
78
|
+
SUB_SCRIPT: Integer
|
|
79
|
+
UNDERLINE_DOUBLE: Integer
|
|
80
|
+
UNDERLINE_NONE: Integer
|
|
81
|
+
UNDERLINE_SINGLE: Integer
|
|
82
|
+
def self.arrow_type_filled?: (untyped arrow_type) -> bool
|
|
83
|
+
def dimension_rotation_alignment: () -> Integer?
|
|
84
|
+
def dimension_rotation_alignment=: (Integer alignment_type) -> Integer
|
|
85
|
+
def dimension_units: () -> [ Integer, Float ]?
|
|
86
|
+
def dimension_vertical_alignment: () -> Integer?
|
|
87
|
+
def dimension_vertical_alignment=: (Integer alignment_type) -> Integer
|
|
88
|
+
def end_arrow_size: () -> Float?
|
|
89
|
+
def end_arrow_size=: (Float arrow_size) -> Float
|
|
90
|
+
def end_arrow_type: () -> Integer?
|
|
91
|
+
def end_arrow_type=: (Integer arrow_type) -> Integer
|
|
92
|
+
def fill_color: () -> Sketchup::Color?
|
|
93
|
+
def fill_color=: (Sketchup::Color fill_color) -> Sketchup::Color
|
|
94
|
+
def font_family: () -> String?
|
|
95
|
+
def font_family=: (String font_family) -> String
|
|
96
|
+
def font_size: () -> Float?
|
|
97
|
+
def font_size=: (Float font_size) -> Float
|
|
98
|
+
def get_sub_style: (Integer) -> Layout::Style
|
|
99
|
+
def initialize: () -> void
|
|
100
|
+
def pattern_fill_origin: () -> Geom::Point2d?
|
|
101
|
+
def pattern_fill_origin=: (Geom::Point2d origin) -> Geom::Point2d
|
|
102
|
+
def pattern_fill_path: () -> String?
|
|
103
|
+
def pattern_fill_path=: (String path) -> String
|
|
104
|
+
def pattern_fill_rotation: () -> Float?
|
|
105
|
+
def pattern_fill_rotation=: (Float rotation) -> Float
|
|
106
|
+
def pattern_fill_scale: () -> Float?
|
|
107
|
+
def pattern_fill_scale=: (Float scale) -> Float
|
|
108
|
+
def pattern_filled: () -> bool?
|
|
109
|
+
def pattern_filled=: (bool filled) -> bool
|
|
110
|
+
def set_dimension_units: (Integer units, Float precision) -> untyped
|
|
111
|
+
def set_sub_style: (Integer, Layout::Style sub_style) -> untyped
|
|
112
|
+
def solid_filled: () -> bool?
|
|
113
|
+
def solid_filled=: (bool filled) -> bool
|
|
114
|
+
def start_arrow_size: () -> Float?
|
|
115
|
+
def start_arrow_size=: (Float arrow_size) -> Float
|
|
116
|
+
def start_arrow_type: () -> Integer?
|
|
117
|
+
def start_arrow_type=: (Integer arrow_type) -> Integer
|
|
118
|
+
def stroke_cap_style: () -> Integer?
|
|
119
|
+
def stroke_cap_style=: (Integer cap_style) -> Integer
|
|
120
|
+
def stroke_color: () -> Sketchup::Color?
|
|
121
|
+
def stroke_color=: (Sketchup::Color stroke_color) -> Sketchup::Color
|
|
122
|
+
def stroke_join_style: () -> Integer?
|
|
123
|
+
def stroke_join_style=: (Integer join_style) -> Integer
|
|
124
|
+
def stroke_pattern: () -> Integer?
|
|
125
|
+
def stroke_pattern=: (Integer pattern) -> Integer
|
|
126
|
+
def stroke_pattern_scale: () -> Float?
|
|
127
|
+
def stroke_pattern_scale=: (Float scale) -> Float
|
|
128
|
+
def stroke_width: () -> Float?
|
|
129
|
+
def stroke_width=: (Float stroke_width) -> Float
|
|
130
|
+
def stroked: () -> bool?
|
|
131
|
+
def stroked=: (bool stroked) -> bool
|
|
132
|
+
def suppress_dimension_units: () -> bool?
|
|
133
|
+
def suppress_dimension_units=: (bool suppress) -> bool
|
|
134
|
+
def text_alignment: () -> Integer?
|
|
135
|
+
def text_alignment=: (Integer alignment_type) -> Integer
|
|
136
|
+
def text_anchor: () -> Integer?
|
|
137
|
+
def text_anchor=: (Integer anchor_type) -> Integer
|
|
138
|
+
def text_bold: () -> bool?
|
|
139
|
+
def text_bold=: (bool bold) -> bool
|
|
140
|
+
def text_color: () -> Sketchup::Color?
|
|
141
|
+
def text_color=: (Sketchup::Color color) -> Sketchup::Color
|
|
142
|
+
def text_elevation: () -> Integer?
|
|
143
|
+
def text_elevation=: (Integer elevation_type) -> Integer
|
|
144
|
+
def text_italic: () -> bool?
|
|
145
|
+
def text_italic=: (bool italic) -> bool
|
|
146
|
+
def text_strikethrough: () -> Integer?
|
|
147
|
+
def text_strikethrough=: (Integer strikethrough_type) -> Integer
|
|
148
|
+
def text_underline: () -> Integer?
|
|
149
|
+
def text_underline=: (Integer underline_type) -> Integer
|
|
150
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Table < Layout::Entity
|
|
4
|
+
include Enumerable[Layout::TableCell]
|
|
5
|
+
def []: (Integer row_index, Integer column_index) -> Layout::TableCell
|
|
6
|
+
def dimensions: () -> [ Integer, Integer ]
|
|
7
|
+
def each: () ?{ (Layout::TableCell cell) -> untyped } -> untyped
|
|
8
|
+
def entities: () -> Layout::Entities
|
|
9
|
+
def get_column: (Integer index) -> Layout::TableColumn
|
|
10
|
+
def get_row: (Integer index) -> Layout::TableRow
|
|
11
|
+
def initialize: (Geom::Bounds2d bounds, Integer rows, Integer columns) -> void
|
|
12
|
+
def insert_column: (Integer index) -> untyped
|
|
13
|
+
def insert_row: (Integer index) -> untyped
|
|
14
|
+
def merge: (Integer start_row, Integer start_column, Integer end_row, Integer end_column) -> untyped
|
|
15
|
+
def remove_column: (Integer index) -> untyped
|
|
16
|
+
def remove_row: (Integer index) -> untyped
|
|
17
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::TableCell
|
|
4
|
+
ROTATION_0: Integer
|
|
5
|
+
ROTATION_180: Integer
|
|
6
|
+
ROTATION_270: Integer
|
|
7
|
+
ROTATION_90: Integer
|
|
8
|
+
def data: () -> untyped
|
|
9
|
+
def data=: (Layout::Entity entity) -> Layout::Entity
|
|
10
|
+
def rotation: () -> Integer
|
|
11
|
+
def rotation=: (Integer cell_rotation) -> Integer
|
|
12
|
+
def span: () -> [ Integer, Integer ]
|
|
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 Layout::TableColumn
|
|
4
|
+
def left_edge_style: () -> Layout::Style
|
|
5
|
+
def left_edge_style=: (Layout::Style style) -> Layout::Style
|
|
6
|
+
def right_edge_style: () -> Layout::Style
|
|
7
|
+
def right_edge_style=: (Layout::Style style) -> Layout::Style
|
|
8
|
+
def width: () -> Float
|
|
9
|
+
def width=: (Float width) -> Float
|
|
10
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::TableRow
|
|
4
|
+
def bottom_edge_style: () -> Layout::Style
|
|
5
|
+
def bottom_edge_style=: (Layout::Style style) -> Layout::Style
|
|
6
|
+
def height: () -> Float
|
|
7
|
+
def height=: (Float height) -> Float
|
|
8
|
+
def top_edge_style: () -> Layout::Style
|
|
9
|
+
def top_edge_style=: (Layout::Style style) -> Layout::Style
|
|
10
|
+
end
|
data/sig/layout.rbs
ADDED
data/sig/length.rbs
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Length < Float
|
|
4
|
+
Architectural: Integer
|
|
5
|
+
Centimeter: Integer
|
|
6
|
+
CubicCentimeter: Integer
|
|
7
|
+
CubicFeet: Integer
|
|
8
|
+
CubicInches: Integer
|
|
9
|
+
CubicMeter: Integer
|
|
10
|
+
CubicMillimeter: Integer
|
|
11
|
+
CubicYard: Integer
|
|
12
|
+
Decimal: Integer
|
|
13
|
+
Engineering: Integer
|
|
14
|
+
Fractional: Integer
|
|
15
|
+
Feet: Integer
|
|
16
|
+
Inches: Integer
|
|
17
|
+
Liter: Integer
|
|
18
|
+
Millimeter: Integer
|
|
19
|
+
Meter: Integer
|
|
20
|
+
SquareCentimeter: Integer
|
|
21
|
+
SquareFeet: Integer
|
|
22
|
+
SquareInches: Integer
|
|
23
|
+
SquareMeter: Integer
|
|
24
|
+
SquareMillimeter: Integer
|
|
25
|
+
SquareYard: Integer
|
|
26
|
+
USGallon: Integer
|
|
27
|
+
Yard: Integer
|
|
28
|
+
def <: (Length length2) -> bool
|
|
29
|
+
def <=: (Length length2) -> bool
|
|
30
|
+
def <=>: (Length length2) -> Integer
|
|
31
|
+
def ==: (Length length2) -> bool
|
|
32
|
+
def >: (Length length2) -> bool
|
|
33
|
+
def >=: (Length length2) -> bool
|
|
34
|
+
def inspect: () -> String
|
|
35
|
+
def to_f: () -> Float
|
|
36
|
+
def to_s: () -> String
|
|
37
|
+
end
|
data/sig/numeric.rbs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Numeric
|
|
4
|
+
def cm: () -> Length
|
|
5
|
+
def degrees: () -> Float
|
|
6
|
+
def feet: () -> Length
|
|
7
|
+
def inch: () -> Length
|
|
8
|
+
def km: () -> Length
|
|
9
|
+
def m: () -> Length
|
|
10
|
+
def mile: () -> Length
|
|
11
|
+
def mm: () -> Length
|
|
12
|
+
def radians: () -> Float
|
|
13
|
+
def to_cm: () -> Float
|
|
14
|
+
def to_feet: () -> Float
|
|
15
|
+
def to_inch: () -> Float
|
|
16
|
+
def to_km: () -> Float
|
|
17
|
+
def to_l: () -> Length
|
|
18
|
+
def to_m: () -> Float
|
|
19
|
+
def to_mile: () -> Float
|
|
20
|
+
def to_mm: () -> Float
|
|
21
|
+
def to_yard: () -> Float
|
|
22
|
+
def yard: () -> Length
|
|
23
|
+
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::AppObserver
|
|
4
|
+
def expectsStartupModelNotifications: () -> bool
|
|
5
|
+
def onActivateModel: (Sketchup::Model model) -> nil
|
|
6
|
+
def onExtensionsLoaded: () -> untyped
|
|
7
|
+
def onNewModel: (Sketchup::Model model) -> nil
|
|
8
|
+
def onOpenModel: (Sketchup::Model model) -> nil
|
|
9
|
+
def onQuit: () -> nil
|
|
10
|
+
def onUnloadExtension: (String extension_name) -> nil
|
|
11
|
+
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::ArcCurve < Sketchup::Curve
|
|
4
|
+
def center: () -> Geom::Point3d
|
|
5
|
+
def circular?: () -> bool
|
|
6
|
+
def end_angle: () -> Float
|
|
7
|
+
def normal: () -> Geom::Vector3d
|
|
8
|
+
def plane: () -> [ Float, Float, Float, Float ]
|
|
9
|
+
|
|
10
|
+
def radius: () -> Float
|
|
11
|
+
def start_angle: () -> Float
|
|
12
|
+
def xaxis: () -> Geom::Vector3d
|
|
13
|
+
def yaxis: () -> Geom::Vector3d
|
|
14
|
+
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::AttributeDictionaries < Sketchup::Entity
|
|
4
|
+
include Enumerable[Sketchup::AttributeDictionary]
|
|
5
|
+
def []: (String key) -> Sketchup::AttributeDictionary
|
|
6
|
+
def count: () -> Integer
|
|
7
|
+
def delete: (String | Sketchup::AttributeDictionary key_or_dict) -> Sketchup::AttributeDictionaries
|
|
8
|
+
def each: () ?{ (Sketchup::AttributeDictionary dictionary) -> untyped } -> untyped
|
|
9
|
+
def length: () -> Integer
|
|
10
|
+
def size: () -> Integer
|
|
11
|
+
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::AttributeDictionary < Sketchup::Entity
|
|
4
|
+
include Enumerable[untyped]
|
|
5
|
+
def []: (String key) -> untyped
|
|
6
|
+
def []=: (String key, (bool | Integer | Float | Length | String | Time | Array[untyped] | Geom::Point3d | Geom::Vector3d)? value) -> untyped
|
|
7
|
+
def count: () -> Integer
|
|
8
|
+
def delete_key: (String key) -> untyped
|
|
9
|
+
def each: () ?{ (String key, untyped value) -> untyped } -> untyped
|
|
10
|
+
def each_key: () ?{ (String key) -> untyped } -> nil
|
|
11
|
+
def each_pair: () ?{ (String key, untyped value) -> untyped } -> untyped
|
|
12
|
+
def empty?: () -> bool
|
|
13
|
+
def keys: () -> Array[String]
|
|
14
|
+
def length: () -> Integer
|
|
15
|
+
def name: () -> String
|
|
16
|
+
def size: () -> Integer
|
|
17
|
+
def values: () -> Array[untyped]
|
|
18
|
+
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::Axes < Sketchup::Entity
|
|
4
|
+
def axes: () -> untyped
|
|
5
|
+
def origin: () -> Geom::Point3d
|
|
6
|
+
def set: (untyped origin, untyped xaxis, untyped yaxis, untyped zaxis) -> Sketchup::Axes
|
|
7
|
+
def sketch_plane: () -> untyped
|
|
8
|
+
def to_a: () -> untyped
|
|
9
|
+
def transformation: () -> Geom::Transformation
|
|
10
|
+
def xaxis: () -> Geom::Vector3d
|
|
11
|
+
def yaxis: () -> Geom::Vector3d
|
|
12
|
+
def zaxis: () -> Geom::Vector3d
|
|
13
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Behavior < Sketchup::Entity
|
|
4
|
+
def always_face_camera=: (bool setting) -> bool
|
|
5
|
+
def always_face_camera?: () -> bool
|
|
6
|
+
|
|
7
|
+
def cuts_opening=: (bool setting) -> bool
|
|
8
|
+
def cuts_opening?: () -> bool
|
|
9
|
+
def is2d=: (bool is2d) -> bool
|
|
10
|
+
def is2d?: () -> bool
|
|
11
|
+
def no_scale_mask=: (Integer scale_mask) -> Integer
|
|
12
|
+
def no_scale_mask?: () -> Integer
|
|
13
|
+
|
|
14
|
+
def shadows_face_sun=: (bool status) -> bool
|
|
15
|
+
|
|
16
|
+
def shadows_face_sun?: () -> bool
|
|
17
|
+
def snapto: () -> Integer
|
|
18
|
+
def snapto=: (Integer snapto) -> Integer
|
|
19
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::Camera
|
|
4
|
+
def aspect_ratio: () -> Float
|
|
5
|
+
def aspect_ratio=: (Float ratio) -> Float
|
|
6
|
+
def center_2d: () -> Geom::Point3d
|
|
7
|
+
def description: () -> String
|
|
8
|
+
def description=: (String description) -> String
|
|
9
|
+
def direction: () -> Geom::Vector3d
|
|
10
|
+
def eye: () -> Geom::Point3d
|
|
11
|
+
def focal_length: () -> Float
|
|
12
|
+
|
|
13
|
+
def focal_length=: (Float focal_length) -> Float
|
|
14
|
+
def fov: () -> Float
|
|
15
|
+
def fov=: (Numeric fov) -> Numeric
|
|
16
|
+
def fov_is_height?: () -> bool
|
|
17
|
+
def height: () -> Float
|
|
18
|
+
def height=: (Float value) -> Float
|
|
19
|
+
def image_width: () -> Float
|
|
20
|
+
def image_width=: (Float image_width) -> Float
|
|
21
|
+
def initialize: () -> void
|
|
22
|
+
| (Geom::Point3d eye, Geom::Point3d target, Geom::Point3d up, ?bool perspective, ?Float fov) -> void
|
|
23
|
+
def is_2d?: () -> bool
|
|
24
|
+
def perspective=: (bool perspective) -> bool
|
|
25
|
+
def perspective?: () -> bool
|
|
26
|
+
def scale_2d: () -> Float
|
|
27
|
+
def set: (Geom::Point3d eye, Geom::Point3d target, Geom::Vector3d up) -> Sketchup::Camera
|
|
28
|
+
def target: () -> Geom::Point3d
|
|
29
|
+
def up: () -> Geom::Vector3d
|
|
30
|
+
def xaxis: () -> Geom::Vector3d
|
|
31
|
+
def yaxis: () -> Geom::Vector3d
|
|
32
|
+
def zaxis: () -> Geom::Vector3d
|
|
33
|
+
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::Classifications
|
|
4
|
+
include Enumerable[Sketchup::ClassificationSchema]
|
|
5
|
+
def []: (untyped index_or_name) -> untyped
|
|
6
|
+
def each: () ?{ (Sketchup::ClassificationSchema schema) -> untyped } -> nil
|
|
7
|
+
def keys: () -> untyped
|
|
8
|
+
def length: () -> Integer
|
|
9
|
+
def load_schema: (untyped file) -> untyped
|
|
10
|
+
def size: () -> Integer
|
|
11
|
+
def unload_schema: (untyped schema_name) -> untyped
|
|
12
|
+
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::Color
|
|
4
|
+
def self.names: () -> Array[untyped]
|
|
5
|
+
def ==: (untyped other) -> bool
|
|
6
|
+
def alpha: () -> Integer
|
|
7
|
+
def alpha=: (Integer | Float alpha) -> (Integer | Float)
|
|
8
|
+
def blend: (Sketchup::Color color2, Float weight) -> Sketchup::Color
|
|
9
|
+
def blue: () -> Integer
|
|
10
|
+
def blue=: (Integer | Float blue) -> (Integer | Float)
|
|
11
|
+
def green: () -> Integer
|
|
12
|
+
def green=: (Integer | Float green) -> (Integer | Float)
|
|
13
|
+
def initialize: (Integer red, Integer green, Integer blue, ?Integer alpha) -> void
|
|
14
|
+
| (Float red, Float green, Float blue, ?Float alpha) -> void
|
|
15
|
+
| (String name) -> void
|
|
16
|
+
| (Integer hex) -> void
|
|
17
|
+
def red: () -> Integer
|
|
18
|
+
def red=: (Integer | Float red) -> (Integer | Float)
|
|
19
|
+
def to_a: () -> Array[untyped]
|
|
20
|
+
def to_i: () -> Integer
|
|
21
|
+
def to_s: () -> String
|
|
22
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::ComponentDefinition < Sketchup::Drawingelement
|
|
4
|
+
include Comparable
|
|
5
|
+
def <=>: (Sketchup::ComponentDefinition compdef2) -> Integer
|
|
6
|
+
def ==: (Sketchup::ComponentDefinition compdef2) -> bool
|
|
7
|
+
def add_classification: (String schema_name, String schema_type) -> bool
|
|
8
|
+
def add_observer: (untyped observer) -> bool
|
|
9
|
+
def behavior: () -> Sketchup::Behavior
|
|
10
|
+
def count_instances: () -> Integer
|
|
11
|
+
def count_used_instances: () -> Integer
|
|
12
|
+
def description: () -> String
|
|
13
|
+
def description=: (String description) -> String
|
|
14
|
+
def entities: () -> Sketchup::Entities
|
|
15
|
+
def get_classification_value: (Array[String] path) -> untyped
|
|
16
|
+
def group?: () -> bool
|
|
17
|
+
def guid: () -> String
|
|
18
|
+
def hidden?: () -> bool
|
|
19
|
+
def image?: () -> bool
|
|
20
|
+
%a{deprecated}
|
|
21
|
+
def insertion_point: () -> Geom::Point3d
|
|
22
|
+
%a{deprecated}
|
|
23
|
+
def insertion_point=: (Geom::Point3d point) -> Geom::Point3d
|
|
24
|
+
def instances: () -> Array[Sketchup::ComponentInstance]
|
|
25
|
+
def internal?: () -> bool
|
|
26
|
+
def invalidate_bounds: () -> bool
|
|
27
|
+
def live_component?: () -> bool
|
|
28
|
+
def load_time: () -> Time
|
|
29
|
+
def name: () -> String
|
|
30
|
+
def name=: (String name) -> String
|
|
31
|
+
def path: () -> String
|
|
32
|
+
def refresh_thumbnail: () -> nil
|
|
33
|
+
def remove_classification: (String schema_name, String schema_type) -> bool
|
|
34
|
+
def remove_observer: (untyped observer) -> bool
|
|
35
|
+
def save_as: (String file_path) -> untyped
|
|
36
|
+
| (String file_path, Integer version) -> untyped
|
|
37
|
+
def save_copy: (String file_path) -> untyped
|
|
38
|
+
| (String file_path, Integer version) -> untyped
|
|
39
|
+
def save_thumbnail: (String filename) -> bool
|
|
40
|
+
def set_classification_value: (Array[String] path, untyped value) -> bool
|
|
41
|
+
def thumbnail_camera: () -> Sketchup::Camera
|
|
42
|
+
def thumbnail_camera=: (Sketchup::Camera camera) -> Sketchup::Camera
|
|
43
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::ComponentInstance < Sketchup::Drawingelement
|
|
4
|
+
def add_observer: (untyped observer) -> bool
|
|
5
|
+
def definition: () -> Sketchup::ComponentDefinition
|
|
6
|
+
def definition=: (Sketchup::ComponentDefinition definition) -> Sketchup::ComponentDefinition
|
|
7
|
+
def equals?: (Sketchup::ComponentInstance) -> bool
|
|
8
|
+
def explode: () -> (Array[Sketchup::Entity] | false)
|
|
9
|
+
def glued_to: () -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
10
|
+
def glued_to=: ((Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)? drawing_element) -> (Sketchup::Face | Sketchup::Group | Sketchup::ComponentInstance | Sketchup::Image)?
|
|
11
|
+
def guid: () -> String
|
|
12
|
+
def intersect: (Sketchup::ComponentInstance) -> Sketchup::Group?
|
|
13
|
+
def locked=: (bool lock) -> bool
|
|
14
|
+
def locked?: () -> bool
|
|
15
|
+
def make_unique: () -> Sketchup::ComponentInstance
|
|
16
|
+
%a{deprecated}
|
|
17
|
+
def manifold?: () -> bool
|
|
18
|
+
def move!: (Geom::Transformation transformation) -> bool
|
|
19
|
+
def name: () -> String
|
|
20
|
+
def name=: (String name) -> Sketchup::ComponentInstance
|
|
21
|
+
def outer_shell: (Sketchup::ComponentInstance) -> Sketchup::Group?
|
|
22
|
+
def remove_observer: (untyped observer) -> bool
|
|
23
|
+
def show_differences: (Sketchup::ComponentInstance, bool verbose) -> bool
|
|
24
|
+
def split: (Sketchup::ComponentInstance | Sketchup::Group other) -> [ Sketchup::Group, Sketchup::Group, Sketchup::Group ]?
|
|
25
|
+
def subtract: (Sketchup::ComponentInstance) -> Sketchup::Group?
|
|
26
|
+
def transform!: (Geom::Transformation transform) -> bool
|
|
27
|
+
def transformation: () -> Geom::Transformation
|
|
28
|
+
def transformation=: (Geom::Transformation transformation) -> Geom::Transformation
|
|
29
|
+
def trim: (Sketchup::ComponentInstance) -> Sketchup::Group?
|
|
30
|
+
def union: (Sketchup::ComponentInstance) -> Sketchup::Group?
|
|
31
|
+
def volume: () -> Float
|
|
32
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Sketchup::ConstructionLine < Sketchup::Drawingelement
|
|
4
|
+
def direction: () -> untyped
|
|
5
|
+
def direction=: (untyped vector) -> untyped
|
|
6
|
+
def end: () -> untyped
|
|
7
|
+
def end=: (Geom::Point3d point) -> Geom::Point3d
|
|
8
|
+
| (nil) -> nil
|
|
9
|
+
def position: () -> untyped
|
|
10
|
+
def position=: (untyped point) -> untyped
|
|
11
|
+
def reverse!: () -> untyped
|
|
12
|
+
def start: () -> untyped
|
|
13
|
+
def start=: (Geom::Point3d point) -> Geom::Point3d
|
|
14
|
+
| (nil) -> nil
|
|
15
|
+
def stipple: () -> Integer
|
|
16
|
+
def stipple=: (String | Integer pattern) -> (String | Integer)
|
|
17
|
+
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::Curve < Sketchup::Entity
|
|
4
|
+
def count_edges: () -> Integer
|
|
5
|
+
def each_edge: () ?{ (Sketchup::Edge edge) -> untyped } -> nil
|
|
6
|
+
def edges: () -> Array[Sketchup::Edge]
|
|
7
|
+
def first_edge: () -> Sketchup::Edge
|
|
8
|
+
def is_polygon?: () -> bool
|
|
9
|
+
def last_edge: () -> Sketchup::Edge
|
|
10
|
+
def length: () -> Length
|
|
11
|
+
def move_vertices: (Array[Geom::Point3d] point_array) -> bool
|
|
12
|
+
def vertices: () -> Array[Sketchup::Vertex]
|
|
13
|
+
end
|