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
data/sig/_top_level.rbs
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
ALT_MODIFIER_KEY: Integer
|
|
4
|
+
ALT_MODIFIER_MASK: Integer
|
|
5
|
+
ALeaderModel: Integer
|
|
6
|
+
ALeaderNone: Integer
|
|
7
|
+
ALeaderView: Integer
|
|
8
|
+
COPY_MODIFIER_KEY: Integer
|
|
9
|
+
COPY_MODIFIER_MASK: Integer
|
|
10
|
+
CONSTRAIN_MODIFIER_KEY: Integer
|
|
11
|
+
CONSTRAIN_MODIFIER_MASK: Integer
|
|
12
|
+
CMD_ARC: Integer
|
|
13
|
+
CMD_CAMERA_UNDO: Integer
|
|
14
|
+
CMD_CIRCLE: Integer
|
|
15
|
+
CMD_COPY: Integer
|
|
16
|
+
CMD_CUT: Integer
|
|
17
|
+
CMD_DELETE: Integer
|
|
18
|
+
CMD_DIMENSION: Integer
|
|
19
|
+
CMD_DISPLAY_FOV: Integer
|
|
20
|
+
CMD_DOLLY: Integer
|
|
21
|
+
CMD_DRAWCUTS: Integer
|
|
22
|
+
CMD_DRAWOUTLINES: Integer
|
|
23
|
+
CMD_ERASE: Integer
|
|
24
|
+
CMD_EXTRUDE: Integer
|
|
25
|
+
CMD_FREEHAND: Integer
|
|
26
|
+
CMD_HIDDENLINE: Integer
|
|
27
|
+
CMD_LINE: Integer
|
|
28
|
+
CMD_MAKE_COMPONENT: Integer
|
|
29
|
+
CMD_MEASURE: Integer
|
|
30
|
+
CMD_MOVE: Integer
|
|
31
|
+
CMD_NEW: Integer
|
|
32
|
+
CMD_OFFSET: Integer
|
|
33
|
+
CMD_OPEN: Integer
|
|
34
|
+
CMD_ORBIT: Integer
|
|
35
|
+
CMD_PAGE_DELETE: Integer
|
|
36
|
+
CMD_PAGE_NEW: Integer
|
|
37
|
+
CMD_PAGE_NEXT: Integer
|
|
38
|
+
CMD_PAGE_PREVIOUS: Integer
|
|
39
|
+
CMD_PAGE_UPDATE: Integer
|
|
40
|
+
CMD_PAINT: Integer
|
|
41
|
+
CMD_PAN: Integer
|
|
42
|
+
CMD_PASTE: Integer
|
|
43
|
+
CMD_POLYGON: Integer
|
|
44
|
+
CMD_POSITION_CAMERA: Integer
|
|
45
|
+
CMD_PRINT: Integer
|
|
46
|
+
CMD_PROTRACTOR: Integer
|
|
47
|
+
CMD_PUSHPULL: Integer
|
|
48
|
+
CMD_RECTANGLE: Integer
|
|
49
|
+
CMD_REDO: Integer
|
|
50
|
+
CMD_ROTATE: Integer
|
|
51
|
+
CMD_RUBY_CONSOLE: Integer
|
|
52
|
+
CMD_SAVE: Integer
|
|
53
|
+
CMD_SCALE: Integer
|
|
54
|
+
CMD_SECTION: Integer
|
|
55
|
+
CMD_SELECT: Integer
|
|
56
|
+
CMD_SELECTION_ZOOM_EXT: Integer
|
|
57
|
+
CMD_SHADED: Integer
|
|
58
|
+
CMD_SHOWGUIDES: Integer
|
|
59
|
+
CMD_SHOWHIDDEN: Integer
|
|
60
|
+
CMD_SHOWHIDDENGEOMETRY: Integer
|
|
61
|
+
CMD_SHOWHIDDENOBJECTS: Integer
|
|
62
|
+
CMD_SKETCHAXES: Integer
|
|
63
|
+
CMD_SKETCHCS: Integer
|
|
64
|
+
CMD_TEXT: Integer
|
|
65
|
+
CMD_TEXTURED: Integer
|
|
66
|
+
CMD_TRANSPARENT: Integer
|
|
67
|
+
CMD_UNDO: Integer
|
|
68
|
+
CMD_VIEW_BACK: Integer
|
|
69
|
+
CMD_VIEW_BOTTOM: Integer
|
|
70
|
+
CMD_VIEW_FRONT: Integer
|
|
71
|
+
CMD_VIEW_ISO: Integer
|
|
72
|
+
CMD_VIEW_LEFT: Integer
|
|
73
|
+
CMD_VIEW_PERSPECTIVE: Integer
|
|
74
|
+
CMD_VIEW_RIGHT: Integer
|
|
75
|
+
CMD_VIEW_TOP: Integer
|
|
76
|
+
CMD_WALK: Integer
|
|
77
|
+
CMD_WIREFRAME: Integer
|
|
78
|
+
CMD_ZOOM: Integer
|
|
79
|
+
CMD_ZOOM_EXTENTS: Integer
|
|
80
|
+
CMD_ZOOM_WINDOW: Integer
|
|
81
|
+
DimensionArrowClosed: Integer
|
|
82
|
+
DimensionArrowDot: Integer
|
|
83
|
+
DimensionArrowNone: Integer
|
|
84
|
+
DimensionArrowOpen: Integer
|
|
85
|
+
DimensionArrowSlash: Integer
|
|
86
|
+
FILE_WRITE_FAILED_INVALID_TYPE: Integer
|
|
87
|
+
FILE_WRITE_FAILED_UNKNOWN: Integer
|
|
88
|
+
FILE_WRITE_OK: Integer
|
|
89
|
+
GL_LINES: Integer
|
|
90
|
+
GL_LINE_LOOP: Integer
|
|
91
|
+
GL_LINE_STRIP: Integer
|
|
92
|
+
GL_POINTS: Integer
|
|
93
|
+
GL_POLYGON: Integer
|
|
94
|
+
GL_QUADS: Integer
|
|
95
|
+
GL_QUAD_STRIP: Integer
|
|
96
|
+
GL_TRIANGLES: Integer
|
|
97
|
+
GL_TRIANGLE_FAN: Integer
|
|
98
|
+
GL_TRIANGLE_STRIP: Integer
|
|
99
|
+
IDENTITY: Integer
|
|
100
|
+
IDENTITY_2D: Integer
|
|
101
|
+
IDABORT: Integer
|
|
102
|
+
IDCANCEL: Integer
|
|
103
|
+
IDIGNORE: Integer
|
|
104
|
+
IDNO: Integer
|
|
105
|
+
IDOK: Integer
|
|
106
|
+
IDRETRY: Integer
|
|
107
|
+
IDYES: Integer
|
|
108
|
+
LAYER_HIDDEN_BY_DEFAULT: Integer
|
|
109
|
+
LAYER_IS_HIDDEN_ON_NEW_PAGES: Integer
|
|
110
|
+
LAYER_IS_VISIBLE_ON_NEW_PAGES: Integer
|
|
111
|
+
LAYER_USES_DEFAULT_VISIBILITY_ON_NEW_PAGES: Integer
|
|
112
|
+
LAYER_VISIBLE_BY_DEFAULT: Integer
|
|
113
|
+
MB_ABORTRETRYIGNORE: Integer
|
|
114
|
+
MB_MULTILINE: Integer
|
|
115
|
+
MB_OK: Integer
|
|
116
|
+
MB_OKCANCEL: Integer
|
|
117
|
+
MB_RETRYCANCEL: Integer
|
|
118
|
+
MB_YESNO: Integer
|
|
119
|
+
MB_YESNOCANCEL: Integer
|
|
120
|
+
MF_CHECKED: Integer
|
|
121
|
+
MF_DISABLED: Integer
|
|
122
|
+
MF_ENABLED: Integer
|
|
123
|
+
MF_GRAYED: Integer
|
|
124
|
+
MF_UNCHECKED: Integer
|
|
125
|
+
ORIGIN: Integer
|
|
126
|
+
ORIGIN_2D: Integer
|
|
127
|
+
PAGE_NO_CAMERA: Integer
|
|
128
|
+
PAGE_USE_ALL: Integer
|
|
129
|
+
PAGE_USE_CAMERA: Integer
|
|
130
|
+
PAGE_USE_ENVIRONMENT: Integer
|
|
131
|
+
PAGE_USE_HIDDEN: Integer
|
|
132
|
+
PAGE_USE_HIDDEN_GEOMETRY: Integer
|
|
133
|
+
PAGE_USE_HIDDEN_OBJECTS: Integer
|
|
134
|
+
PAGE_USE_LAYER_VISIBILITY: Integer
|
|
135
|
+
PAGE_USE_RENDERING_OPTIONS: Integer
|
|
136
|
+
PAGE_USE_SECTION_PLANES: Integer
|
|
137
|
+
PAGE_USE_SHADOWINFO: Integer
|
|
138
|
+
PAGE_USE_SKETCHCS: Integer
|
|
139
|
+
SB_PROMPT: Integer
|
|
140
|
+
SB_VCB_LABEL: Integer
|
|
141
|
+
SB_VCB_VALUE: Integer
|
|
142
|
+
SKETCHUP_CONSOLE: Integer
|
|
143
|
+
SnapTo_Arbitrary: Integer
|
|
144
|
+
SnapTo_Horizontal: Integer
|
|
145
|
+
SnapTo_Sloped: Integer
|
|
146
|
+
SnapTo_Vertical: Integer
|
|
147
|
+
TB_HIDDEN: Integer
|
|
148
|
+
TB_NEVER_SHOWN: Integer
|
|
149
|
+
TB_VISIBLE: Integer
|
|
150
|
+
TextAlignCenter: Integer
|
|
151
|
+
TextAlignLeft: Integer
|
|
152
|
+
TextAlignRight: Integer
|
|
153
|
+
TextVerticalAlignBaseline: Integer
|
|
154
|
+
TextVerticalAlignBoundsTop: Integer
|
|
155
|
+
TextVerticalAlignCapHeight: Integer
|
|
156
|
+
TextVerticalAlignCenter: Integer
|
|
157
|
+
VK_ALT: Integer
|
|
158
|
+
VK_COMMAND: Integer
|
|
159
|
+
VK_CONTROL: Integer
|
|
160
|
+
VK_DELETE: Integer
|
|
161
|
+
VK_DOWN: Integer
|
|
162
|
+
VK_END: Integer
|
|
163
|
+
VK_HOME: Integer
|
|
164
|
+
VK_INSERT: Integer
|
|
165
|
+
VK_LEFT: Integer
|
|
166
|
+
VK_MENU: Integer
|
|
167
|
+
VK_NEXT: Integer
|
|
168
|
+
VK_PRIOR: Integer
|
|
169
|
+
VK_RIGHT: Integer
|
|
170
|
+
VK_SHIFT: Integer
|
|
171
|
+
VK_SPACE: Integer
|
|
172
|
+
VK_UP: Integer
|
|
173
|
+
X_AXIS_2D: Integer
|
|
174
|
+
Y_AXIS_2D: Integer
|
|
175
|
+
X_AXIS: Integer
|
|
176
|
+
Y_AXIS: Integer
|
|
177
|
+
Z_AXIS: Integer
|
|
178
|
+
class Object
|
|
179
|
+
%a{deprecated}
|
|
180
|
+
private def add_separator_to_menu: (String menu_name) -> untyped
|
|
181
|
+
private def file_loaded: (String filename) -> untyped
|
|
182
|
+
private def file_loaded?: (String filename) -> bool
|
|
183
|
+
private def inputbox: (*untyped args) -> untyped
|
|
184
|
+
%a{deprecated}
|
|
185
|
+
private def require_all: (String dirname) -> untyped
|
|
186
|
+
%a{deprecated}
|
|
187
|
+
private def show_ruby_panel: () -> untyped
|
|
188
|
+
end
|
data/sig/array.rbs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Array[unchecked out Elem]
|
|
4
|
+
def cross: (Geom::Vector3d vector) -> Geom::Vector3d
|
|
5
|
+
| (Geom::Vector2d vector) -> Geom::Vector2d
|
|
6
|
+
def distance: (Geom::Point3d point) -> Length
|
|
7
|
+
| (Geom::Point2d point) -> Length
|
|
8
|
+
def distance_to_line: (Geom::Point3d point, Geom::Vector3d vector) -> Length
|
|
9
|
+
| (Geom::Point3d point1, untyped point2) -> Length
|
|
10
|
+
def distance_to_plane: (Geom::Point3d point, Geom::Vector3d vector) -> Length
|
|
11
|
+
| (Geom::Point3d point1, Geom::Point3d point2, Geom::Point3d point3) -> Length
|
|
12
|
+
| (Float float1, Float float2, Float float3, Float float4) -> Length
|
|
13
|
+
| (untyped array) -> Length
|
|
14
|
+
def dot: (Geom::Vector3d vector) -> Float
|
|
15
|
+
| (Geom::Vector2d vector) -> Float
|
|
16
|
+
def normalize: () -> [ Float, Float, Float ]
|
|
17
|
+
| () -> [ Float, Float ]
|
|
18
|
+
def normalize!: () -> [ Float, Float, Float ]
|
|
19
|
+
| () -> [ Float, Float ]
|
|
20
|
+
def offset: (Geom::Vector3d vector) -> [ Length, Length, Length ]
|
|
21
|
+
| (Geom::Vector2d vector) -> [ Length, Length ]
|
|
22
|
+
| (Geom::Vector3d vector, Length length) -> [ Length, Length, Length ]
|
|
23
|
+
| (Geom::Vector2d vector, Length length) -> [ Length, Length ]
|
|
24
|
+
def offset!: (Geom::Vector3d vector) -> [ Length, Length, Length ]
|
|
25
|
+
| (Geom::Vector2d vector) -> [ Length, Length ]
|
|
26
|
+
| (Geom::Vector3d vector, Length length) -> [ Length, Length, Length ]
|
|
27
|
+
| (Geom::Vector2d vector, Length length) -> [ Length, Length ]
|
|
28
|
+
def on_line?: (Geom::Point3d point, Geom::Vector3d vector) -> bool
|
|
29
|
+
| (Geom::Point3d point1, untyped point2) -> bool
|
|
30
|
+
def on_plane?: (Geom::Point3d point, Geom::Vector3d vector) -> untyped
|
|
31
|
+
| (Geom::Point3d point1, Geom::Point3d point2, Geom::Point3d point3) -> untyped
|
|
32
|
+
| (Float float1, Float float2, Float float3, Float float4) -> untyped
|
|
33
|
+
| (untyped array) -> untyped
|
|
34
|
+
def project_to_line: (Geom::Point3d point, Geom::Vector3d vector) -> [ Length, Length, Length ]
|
|
35
|
+
| (Geom::Point3d point1, untyped point2) -> [ Length, Length, Length ]
|
|
36
|
+
def project_to_plane: (Geom::Point3d point, Geom::Vector3d vector) -> [ Length, Length, Length ]
|
|
37
|
+
| (Geom::Point3d point1, Geom::Point3d point2, Geom::Point3d point3) -> [ Length, Length, Length ]
|
|
38
|
+
| (Float float1, Float float2, Float float3, Float float4) -> [ Length, Length, Length ]
|
|
39
|
+
| (untyped array) -> [ Length, Length, Length ]
|
|
40
|
+
def transform: (Geom::Transformation2d transform) -> Array[Length]
|
|
41
|
+
| (Geom::Transformation transform) -> Array[Length]
|
|
42
|
+
def transform!: (Geom::Transformation2d transform) -> Array[untyped]
|
|
43
|
+
| (Geom::Transformation transform) -> Array[untyped]
|
|
44
|
+
def vector_to: (Geom::Point3d point) -> Geom::Vector3d
|
|
45
|
+
| (Geom::Point2d point) -> Geom::Vector2d
|
|
46
|
+
def x: () -> untyped
|
|
47
|
+
def x=: (untyped x) -> untyped
|
|
48
|
+
def y: () -> untyped
|
|
49
|
+
def y=: (untyped y) -> untyped
|
|
50
|
+
def z: () -> untyped
|
|
51
|
+
def z=: (untyped z) -> untyped
|
|
52
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::BoundingBox
|
|
4
|
+
CORNER_LEFT_BACK_BOTTOM: Integer
|
|
5
|
+
CORNER_LEFT_BACK_TOP: Integer
|
|
6
|
+
CORNER_LEFT_FRONT_BOTTOM: Integer
|
|
7
|
+
CORNER_LEFT_FRONT_TOP: Integer
|
|
8
|
+
CORNER_RIGHT_BACK_BOTTOM: Integer
|
|
9
|
+
CORNER_RIGHT_BACK_TOP: Integer
|
|
10
|
+
CORNER_RIGHT_FRONT_BOTTOM: Integer
|
|
11
|
+
CORNER_RIGHT_FRONT_TOP: Integer
|
|
12
|
+
def add: (Geom::Point3d | Geom::BoundingBox | Sketchup::Vertex point_or_bb) -> untyped
|
|
13
|
+
| (Array[Geom::Point3d | Geom::BoundingBox | Sketchup::Vertex] points_or_bb) -> untyped
|
|
14
|
+
def center: () -> Geom::Point3d
|
|
15
|
+
def clear: () -> Geom::BoundingBox
|
|
16
|
+
def contains?: (Geom::Point3d | Geom::BoundingBox point_or_bb) -> bool
|
|
17
|
+
def corner: (Integer corner_index) -> Geom::Point3d
|
|
18
|
+
def depth: () -> Length
|
|
19
|
+
def diagonal: () -> Length
|
|
20
|
+
def empty?: () -> bool
|
|
21
|
+
def height: () -> Length
|
|
22
|
+
def initialize: () -> void
|
|
23
|
+
def intersect: (Geom::BoundingBox boundingbox) -> Geom::BoundingBox
|
|
24
|
+
def max: () -> Geom::Point3d
|
|
25
|
+
def min: () -> Geom::Point3d
|
|
26
|
+
def valid?: () -> bool
|
|
27
|
+
def width: () -> Length
|
|
28
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Bounds2d
|
|
4
|
+
def ==: (Geom::Bounds2d other) -> bool
|
|
5
|
+
def height: () -> Float
|
|
6
|
+
def initialize: (Geom::Bounds2d other_bounds) -> void
|
|
7
|
+
| (Geom::Point2d upper_left, Geom::Point2d lower_right) -> void
|
|
8
|
+
| (Float x, Float y, Float width, Float height) -> void
|
|
9
|
+
| ([ Geom::Point2d, Geom::Point2d ] point_array) -> void
|
|
10
|
+
| ([ Float, Float, Float, Float ] float_array) -> void
|
|
11
|
+
def lower_right: () -> Geom::Point2d
|
|
12
|
+
def set!: (Geom::Bounds2d other_bounds) -> Geom::Bounds2d
|
|
13
|
+
| (Geom::Point2d upper_left, Geom::Point2d lower_right) -> Geom::Bounds2d
|
|
14
|
+
| (Float x, Float y, Float width, Float height) -> Geom::Bounds2d
|
|
15
|
+
| ([ Geom::Point2d, Geom::Point2d ] point_array) -> Geom::Bounds2d
|
|
16
|
+
| ([ Float, Float, Float, Float ] float_array) -> Geom::Bounds2d
|
|
17
|
+
def to_a: () -> [ Geom::Point2d, Geom::Point2d ]
|
|
18
|
+
def upper_left: () -> Geom::Point2d
|
|
19
|
+
def width: () -> Float
|
|
20
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::LatLong
|
|
4
|
+
def initialize: () -> void
|
|
5
|
+
| (Geom::LatLong latlong) -> void
|
|
6
|
+
| ([ Numeric, Numeric ] latlong_array) -> void
|
|
7
|
+
| (untyped lat, untyped long) -> void
|
|
8
|
+
def latitude: () -> Float
|
|
9
|
+
def longitude: () -> Float
|
|
10
|
+
def to_a: () -> [ Float, Float ]
|
|
11
|
+
def to_s: () -> String
|
|
12
|
+
def to_utm: () -> Geom::UTM
|
|
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 Geom::OrientedBounds2d
|
|
4
|
+
def ==: (Geom::OrientedBounds2d other) -> bool
|
|
5
|
+
def lower_left: () -> Geom::Point2d
|
|
6
|
+
def lower_right: () -> Geom::Point2d
|
|
7
|
+
def to_a: () -> [ Geom::Point2d, Geom::Point2d, Geom::Point2d, Geom::Point2d ]
|
|
8
|
+
def upper_left: () -> Geom::Point2d
|
|
9
|
+
def upper_right: () -> Geom::Point2d
|
|
10
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Point2d
|
|
4
|
+
def +: (Geom::Vector2d | [ Numeric, Numeric ] vector) -> Geom::Point2d
|
|
5
|
+
def -: ([ Numeric, Numeric ] array2d) -> Geom::Vector2d
|
|
6
|
+
| (Geom::Point2d point2d) -> Geom::Vector2d
|
|
7
|
+
| (Geom::Vector2d vector2d) -> Geom::Point2d
|
|
8
|
+
def ==: (Geom::Point2d | [ Numeric, Numeric ] point) -> bool
|
|
9
|
+
def []: (Integer index) -> Length
|
|
10
|
+
def []=: (Integer index, Numeric value) -> Numeric
|
|
11
|
+
def clone: () -> Geom::Point2d
|
|
12
|
+
def distance: (Geom::Point2d | [ Numeric, Numeric ] point) -> Numeric
|
|
13
|
+
def initialize: () -> void
|
|
14
|
+
| (Numeric x, Numeric y) -> void
|
|
15
|
+
| (Geom::Point2d | [ Numeric, Numeric ] point) -> void
|
|
16
|
+
def inspect: () -> String
|
|
17
|
+
def offset: (Geom::Vector2d | [ Numeric, Numeric ] vector) -> Geom::Point2d
|
|
18
|
+
| (Geom::Vector2d | [ Numeric, Numeric ] vector, Numeric distance) -> Geom::Point2d
|
|
19
|
+
def offset!: (Geom::Vector2d | [ Numeric, Numeric ] vector) -> Geom::Point2d
|
|
20
|
+
| (Geom::Vector2d | [ Numeric, Numeric ] vector, Numeric distance) -> Geom::Point2d
|
|
21
|
+
def set!: (Geom::Point2d | [ Numeric, Numeric ] point) -> Geom::Point2d
|
|
22
|
+
| (Numeric x, Numeric y) -> Geom::Point2d
|
|
23
|
+
def to_a: () -> [ Numeric, Numeric ]
|
|
24
|
+
def to_s: () -> String
|
|
25
|
+
def transform: (Geom::Transformation2d transform) -> Geom::Point2d
|
|
26
|
+
def transform!: (Geom::Transformation2d transform) -> Geom::Point2d
|
|
27
|
+
def vector_to: (Geom::Point2d | [ Numeric, Numeric ] point) -> Geom::Vector2d
|
|
28
|
+
def x: () -> Length
|
|
29
|
+
def x=: (Numeric x) -> Numeric
|
|
30
|
+
def y: () -> Length
|
|
31
|
+
def y=: (Numeric y) -> Numeric
|
|
32
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Point3d
|
|
4
|
+
def self.linear_combination: (Float weight1, Geom::Point3d point1, Float weight2, Geom::Point3d point2) -> Geom::Point3d
|
|
5
|
+
def +: (Geom::Vector3d | [ Numeric, Numeric, Numeric ] vector) -> Geom::Point3d
|
|
6
|
+
def -: ([ Numeric, Numeric, Numeric ] array3d) -> Geom::Vector3d
|
|
7
|
+
| (Geom::Point3d point3d) -> Geom::Vector3d
|
|
8
|
+
| (Geom::Vector3d vector3d) -> Geom::Point3d
|
|
9
|
+
def <: (Geom::Point3d | [ Numeric, Numeric, Numeric ] point2) -> bool
|
|
10
|
+
def ==: (Geom::Point3d | [ Numeric, Numeric, Numeric ] point) -> bool
|
|
11
|
+
def []: (Integer index) -> Length
|
|
12
|
+
def []=: (Integer index, Numeric new_value) -> Numeric
|
|
13
|
+
def clone: () -> Geom::Point3d
|
|
14
|
+
def distance: (Geom::point3d_like point2) -> Length
|
|
15
|
+
|
|
16
|
+
def distance_to_line: (untyped line) -> Float
|
|
17
|
+
def distance_to_plane: (untyped plane) -> Float
|
|
18
|
+
def initialize: () -> void
|
|
19
|
+
| (Numeric x, Numeric y, ?Numeric z) -> void
|
|
20
|
+
| (Geom::Point3d point3d) -> void
|
|
21
|
+
| ([ Numeric, Numeric, Numeric ] array3d) -> void
|
|
22
|
+
| ([ Numeric, Numeric ] array2d) -> void
|
|
23
|
+
| (Sketchup::InputPoint input_point) -> void
|
|
24
|
+
| (Sketchup::Vertex vertex) -> void
|
|
25
|
+
def inspect: () -> String
|
|
26
|
+
def offset: (Geom::Vector3d vector, ?Numeric length) -> Geom::Point3d
|
|
27
|
+
def offset!: (Geom::Vector3d vector, ?Numeric length) -> Geom::Point3d
|
|
28
|
+
def on_line?: (untyped line) -> bool
|
|
29
|
+
def on_plane?: (untyped plane) -> bool
|
|
30
|
+
def project_to_line: (untyped line) -> Geom::Point3d
|
|
31
|
+
def project_to_plane: (untyped plane) -> Geom::Point3d
|
|
32
|
+
def set!: (Numeric x, Numeric y, Numeric z) -> Geom::Point3d
|
|
33
|
+
| ([ Numeric, Numeric, Numeric ] array3d) -> Geom::Point3d
|
|
34
|
+
| (Geom::Point3d point3d) -> Geom::Point3d
|
|
35
|
+
def to_a: () -> [ Length, Length, Length ]
|
|
36
|
+
def to_s: () -> String
|
|
37
|
+
def transform: (Geom::Transformation transform) -> Geom::Point3d
|
|
38
|
+
def transform!: (Geom::Transformation transform) -> Geom::Point3d
|
|
39
|
+
def vector_to: (Geom::Point3d | [ Numeric, Numeric, Numeric ] point3d) -> Geom::Vector3d
|
|
40
|
+
def x: () -> Length
|
|
41
|
+
def x=: (Numeric value) -> Numeric
|
|
42
|
+
def y: () -> Length
|
|
43
|
+
def y=: (Numeric value) -> Numeric
|
|
44
|
+
def z: () -> Length
|
|
45
|
+
def z=: (Numeric value) -> Numeric
|
|
46
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::PolygonMesh
|
|
4
|
+
AUTO_SOFTEN: Integer
|
|
5
|
+
HIDE_BASED_ON_INDEX: Integer
|
|
6
|
+
NO_SMOOTH_OR_HIDE: Integer
|
|
7
|
+
SMOOTH_SOFT_EDGES: Integer
|
|
8
|
+
SOFTEN_BASED_ON_INDEX: Integer
|
|
9
|
+
MESH_NORMALS: Integer
|
|
10
|
+
MESH_POINTS: Integer
|
|
11
|
+
MESH_UVQ_BACK: Integer
|
|
12
|
+
MESH_UVQ_FRONT: Integer
|
|
13
|
+
def add_point: (Geom::Point3d point) -> Integer
|
|
14
|
+
def add_polygon: (Integer index, Integer index, Integer index, Integer) -> untyped
|
|
15
|
+
| (Array[Integer] index_array) -> untyped
|
|
16
|
+
| (Geom::Point3d point3d, Geom::Point3d point3d, Geom::Point3d point3d, Geom::Point3d) -> untyped
|
|
17
|
+
| (Array[Geom::Point3d] point3d_array) -> untyped
|
|
18
|
+
def count_points: () -> Integer
|
|
19
|
+
def count_polygons: () -> Integer
|
|
20
|
+
def initialize: () -> void
|
|
21
|
+
| (Integer number_points) -> void
|
|
22
|
+
| (Integer number_points, Integer number_polygons) -> void
|
|
23
|
+
def normal_at: (Integer index) -> Geom::Vector3d?
|
|
24
|
+
def point_at: (Integer index) -> Geom::Point3d?
|
|
25
|
+
def point_index: (Geom::Point3d point) -> Integer
|
|
26
|
+
def points: () -> Array[Geom::Point3d]
|
|
27
|
+
def polygon_at: (Integer index) -> Array[Integer]?
|
|
28
|
+
def polygon_points_at: (Integer index) -> Array[Geom::Point3d]?
|
|
29
|
+
def polygons: () -> Array[Array[Integer]]
|
|
30
|
+
def set_point: (Integer index, Geom::Point3d point) -> Geom::PolygonMesh
|
|
31
|
+
def set_uv: (Integer index, Geom::Point3d point, bool front) -> nil
|
|
32
|
+
def transform!: (Geom::Transformation transformation) -> Geom::PolygonMesh
|
|
33
|
+
def uv_at: (Integer index, bool front) -> Geom::Point3d?
|
|
34
|
+
def uvs: (bool front) -> Array[Geom::Point3d]
|
|
35
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Transformation
|
|
4
|
+
def self.axes: (Geom::Point3d origin, Geom::Vector3d xaxis, Geom::Vector3d yaxis, Geom::Vector3d zaxis) -> Geom::Transformation
|
|
5
|
+
| (Geom::Point3d origin, Geom::Vector3d xaxis, Geom::Vector3d yaxis) -> Geom::Transformation
|
|
6
|
+
def self.interpolate: (Geom::Transformation transformation1, Geom::Transformation transformation2, Float weight) -> Geom::Transformation
|
|
7
|
+
def self.rotation: (Geom::Point3d point, Geom::Vector3d vector, Float angle) -> Geom::Transformation
|
|
8
|
+
def self.scaling: (Float scale) -> Geom::Transformation
|
|
9
|
+
| (Float xscale, Float yscale, Float zscale) -> Geom::Transformation
|
|
10
|
+
| (Geom::Point3d point, Float scale) -> Geom::Transformation
|
|
11
|
+
| (Geom::Point3d point, Float xscale, Float yscale, Float zscale) -> Geom::Transformation
|
|
12
|
+
def self.translation: (Geom::Vector3d vector) -> Geom::Transformation
|
|
13
|
+
| (Geom::Point3d point) -> Geom::Transformation
|
|
14
|
+
def *: (Geom::Point3d point) -> Geom::Point3d
|
|
15
|
+
| (Geom::Vector3d vector) -> Geom::Vector3d
|
|
16
|
+
| (Geom::Transformation transformation) -> Geom::Transformation
|
|
17
|
+
| ([ Float, Float, Float ] point) -> [ Float, Float, Float ]
|
|
18
|
+
| ([ Geom::Point3d, Geom::Vector3d ] plane) -> [ Float, Float, Float, Float ]
|
|
19
|
+
| ([ Float, Float, Float, Float ] plane) -> [ Float, Float, Float, Float ]
|
|
20
|
+
def clone: () -> Geom::Transformation
|
|
21
|
+
def identity?: () -> bool
|
|
22
|
+
def initialize: () -> void
|
|
23
|
+
| (Geom::Point3d point) -> void
|
|
24
|
+
| (Geom::Vector3d vector) -> void
|
|
25
|
+
| (Geom::Transformation transform) -> void
|
|
26
|
+
| (untyped array) -> void
|
|
27
|
+
| (Float scale) -> void
|
|
28
|
+
| (Geom::Point3d origin, Geom::Vector3d zaxis) -> void
|
|
29
|
+
| (Geom::Point3d origin, Geom::Vector3d xaxis, Geom::Vector3d yaxis) -> void
|
|
30
|
+
| (untyped pt, Geom::Vector3d axis, Float angle) -> void
|
|
31
|
+
| (Geom::Vector3d xaxis, Geom::Vector3d yaxis, Geom::Vector3d zaxis, Geom::Point3d origin) -> void
|
|
32
|
+
def inverse: () -> Geom::Transformation
|
|
33
|
+
def invert!: () -> Geom::Transformation
|
|
34
|
+
def origin: () -> Geom::Point3d
|
|
35
|
+
def set!: (Geom::Transformation transformation) -> Geom::Transformation
|
|
36
|
+
| (Geom::Point3d point) -> Geom::Transformation
|
|
37
|
+
| (Geom::Vector3d vector) -> Geom::Transformation
|
|
38
|
+
| (Array[Float] matrix) -> Geom::Transformation
|
|
39
|
+
| (Float scale) -> Geom::Transformation
|
|
40
|
+
def to_a: () -> Array[Float]
|
|
41
|
+
def xaxis: () -> Geom::Vector3d
|
|
42
|
+
def yaxis: () -> Geom::Vector3d
|
|
43
|
+
def zaxis: () -> Geom::Vector3d
|
|
44
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Transformation2d
|
|
4
|
+
def self.rotation: (Geom::Point2d point, Float angle) -> Geom::Transformation2d
|
|
5
|
+
def self.scaling: (Float scale) -> Geom::Transformation2d
|
|
6
|
+
| (Float xscale, Float yscale) -> Geom::Transformation2d
|
|
7
|
+
| (Geom::Point2d point, Float scale) -> Geom::Transformation2d
|
|
8
|
+
| (Geom::Point2d point, Float xscale, Float yscale) -> Geom::Transformation2d
|
|
9
|
+
def self.translation: (Geom::Vector2d vector) -> Geom::Transformation2d
|
|
10
|
+
| (Geom::Point2d point) -> Geom::Transformation2d
|
|
11
|
+
def *: (Geom::Point2d point) -> Geom::Point2d
|
|
12
|
+
| (Geom::Vector2d vector) -> Geom::Vector2d
|
|
13
|
+
| (Geom::Transformation2d transformation) -> Geom::Transformation2d
|
|
14
|
+
| ([ Float, Float ] point) -> [ Float, Float ]
|
|
15
|
+
def ==: (Geom::Transformation2d other) -> bool
|
|
16
|
+
def clone: () -> Geom::Transformation2d
|
|
17
|
+
def identity?: () -> bool
|
|
18
|
+
def initialize: () -> void
|
|
19
|
+
| (untyped transformation) -> void
|
|
20
|
+
| (Array[Float] array) -> void
|
|
21
|
+
def inverse: () -> Geom::Transformation2d
|
|
22
|
+
def invert!: () -> Geom::Transformation2d
|
|
23
|
+
def set!: (Geom::Transformation2d transformation) -> Geom::Transformation2d
|
|
24
|
+
| (Array[Float] matrix) -> Geom::Transformation2d
|
|
25
|
+
def to_a: () -> Array[Float]
|
|
26
|
+
end
|
data/sig/geom/utm.rbs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::UTM
|
|
4
|
+
def initialize: (Integer zone_number, String zone_letter, Float x, Float y) -> void
|
|
5
|
+
| (Geom::UTM utm) -> void
|
|
6
|
+
| ([ Integer, String, Float, Float ] array) -> void
|
|
7
|
+
def to_a: () -> [ Integer, String, Float, Float ]
|
|
8
|
+
def to_latlong: () -> Geom::LatLong
|
|
9
|
+
def to_s: () -> String
|
|
10
|
+
def x: () -> Float
|
|
11
|
+
def y: () -> Float
|
|
12
|
+
def zone_letter: () -> String
|
|
13
|
+
def zone_number: () -> Integer
|
|
14
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Vector2d
|
|
4
|
+
def %: (Geom::Vector2d | [ Float, Float ] vector) -> Float
|
|
5
|
+
def *: (Geom::Vector2d | [ Float, Float ] vector) -> Float
|
|
6
|
+
def +: (Geom::Vector2d | [ Float, Float ] vector) -> Geom::Vector2d
|
|
7
|
+
def -: (Geom::Vector2d | [ Float, Float ] vector) -> Geom::Vector2d
|
|
8
|
+
def ==: (Geom::Vector2d | [ Float, Float ] vector) -> bool
|
|
9
|
+
def []: (Integer index) -> Float
|
|
10
|
+
def []=: (Integer index, Float value) -> Float
|
|
11
|
+
def angle_between: (Geom::Vector2d | [ Float, Float ] vector) -> Float
|
|
12
|
+
def clone: () -> Geom::Vector2d
|
|
13
|
+
def cross: (Geom::Vector2d | [ Float, Float ] vector) -> Float
|
|
14
|
+
def dot: (Geom::Vector2d | [ Float, Float ] vector) -> Float
|
|
15
|
+
def initialize: () -> void
|
|
16
|
+
| (Float x, Float y) -> void
|
|
17
|
+
| (Geom::Vector2d | [ Float, Float ] vector) -> void
|
|
18
|
+
def inspect: () -> String
|
|
19
|
+
def length: () -> Length
|
|
20
|
+
def length=: (Float length) -> Length
|
|
21
|
+
def normalize: () -> Geom::Vector2d
|
|
22
|
+
def normalize!: () -> untyped
|
|
23
|
+
def parallel?: (Geom::Vector2d | [ Float, Float ] vector) -> bool
|
|
24
|
+
def perpendicular?: (Geom::Vector2d | [ Float, Float ] vector) -> bool
|
|
25
|
+
def reverse: () -> Geom::Vector2d
|
|
26
|
+
def reverse!: () -> untyped
|
|
27
|
+
def same_direction?: (Geom::Vector2d | [ Float, Float ] vector) -> bool
|
|
28
|
+
def set!: (Geom::Vector2d | [ Float, Float ] vector) -> Geom::Vector2d
|
|
29
|
+
| (Float x, Float y) -> Geom::Vector2d
|
|
30
|
+
def to_a: () -> [ Float, Float ]
|
|
31
|
+
def to_s: () -> String
|
|
32
|
+
def transform: (Geom::Transformation2d transform) -> Geom::Vector2d
|
|
33
|
+
def transform!: (Geom::Transformation2d transform) -> Geom::Vector2d
|
|
34
|
+
def unit_vector?: () -> bool
|
|
35
|
+
def valid?: () -> bool
|
|
36
|
+
def x: () -> Float
|
|
37
|
+
def x=: (Float x) -> Float
|
|
38
|
+
def y: () -> Float
|
|
39
|
+
def y=: (Float y) -> Float
|
|
40
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Geom::Vector3d
|
|
4
|
+
def self.linear_combination: (Float weight1, Geom::Vector3d vector1, Float weight2, Geom::Vector3d vector2) -> Geom::Vector3d
|
|
5
|
+
| (Float x, Geom::Vector3d xaxis, Float y, Geom::Vector3d yaxis, Float z, Geom::Vector3d zaxis) -> Geom::Vector3d
|
|
6
|
+
def %: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Float
|
|
7
|
+
def *: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Geom::Vector3d
|
|
8
|
+
def +: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Geom::Vector3d
|
|
9
|
+
def -: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Geom::Vector3d
|
|
10
|
+
def <: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> bool
|
|
11
|
+
def ==: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> bool
|
|
12
|
+
def []: (Integer index) -> Length
|
|
13
|
+
def []=: (Integer index, Float value) -> Float
|
|
14
|
+
def angle_between: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Float
|
|
15
|
+
def axes: () -> [ Geom::Vector3d, Geom::Vector3d, Geom::Vector3d ]
|
|
16
|
+
def clone: () -> Geom::Vector3d
|
|
17
|
+
def cross: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Geom::Vector3d
|
|
18
|
+
def dot: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> Float
|
|
19
|
+
def initialize: () -> void
|
|
20
|
+
| (Float x, Float y, Float z) -> void
|
|
21
|
+
| ([ Float, Float, Float ] array3d) -> void
|
|
22
|
+
| ([ Float, Float ] array2d) -> void
|
|
23
|
+
| (Geom::Vector3d vector) -> void
|
|
24
|
+
def inspect: () -> Geom::Vector3d
|
|
25
|
+
def length: () -> Length
|
|
26
|
+
def length=: (Float length) -> Length
|
|
27
|
+
def normalize: () -> Geom::Vector3d
|
|
28
|
+
def normalize!: () -> Geom::Vector3d
|
|
29
|
+
def parallel?: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> bool
|
|
30
|
+
def perpendicular?: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> bool
|
|
31
|
+
def reverse: () -> Geom::Vector3d
|
|
32
|
+
def reverse!: () -> Geom::Vector3d
|
|
33
|
+
def samedirection?: (Geom::Vector3d | [ Float, Float, Float ] vector3d) -> bool
|
|
34
|
+
def set!: (Geom::Vector3d vector) -> Geom::Vector3d
|
|
35
|
+
| (Float x, Float y, Float z) -> Geom::Vector3d
|
|
36
|
+
| ([ Float, Float, Float ] array3d) -> Geom::Vector3d
|
|
37
|
+
def to_a: () -> [ Float, Float, Float ]
|
|
38
|
+
def to_s: () -> String
|
|
39
|
+
def transform: (Geom::Transformation transform) -> Geom::Vector3d
|
|
40
|
+
def transform!: (Geom::Transformation transform) -> Geom::Vector3d
|
|
41
|
+
def unitvector?: () -> bool
|
|
42
|
+
def valid?: () -> bool
|
|
43
|
+
def x: () -> Float
|
|
44
|
+
def x=: (Float x) -> Float
|
|
45
|
+
def y: () -> Float
|
|
46
|
+
def y=: (Float y) -> Float
|
|
47
|
+
def z: () -> Float
|
|
48
|
+
def z=: (Float z) -> Float
|
|
49
|
+
end
|
data/sig/geom.rbs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
module Geom
|
|
4
|
+
def self.closest_points: ([ Geom::Point3d, Geom::Vector3d ] line1, [ Geom::Point3d, Geom::Vector3d ] line2) -> [ Geom::Point3d, Geom::Point3d ]
|
|
5
|
+
|
|
6
|
+
def self.fit_plane_to_points: (Geom::Point3d point1, Geom::Point3d point2, Geom::Point3d point3, untyped) -> [ Float, Float, Float, Float ]
|
|
7
|
+
| (Array[Geom::Point3d] points) -> [ Float, Float, Float, Float ]
|
|
8
|
+
|
|
9
|
+
def self.intersect_line_line: ([ Geom::Point3d, Geom::Vector3d ] line1, [ Geom::Point3d, Geom::Vector3d ] line2) -> Geom::Point3d?
|
|
10
|
+
|
|
11
|
+
def self.intersect_line_plane: ([ Geom::Point3d, Geom::Vector3d ] line, [ Geom::Point3d, Geom::Vector3d ] plane) -> Geom::Point3d?
|
|
12
|
+
|
|
13
|
+
def self.intersect_plane_plane: ([ Geom::Point3d, Geom::Vector3d ] plane1, [ Geom::Point3d, Geom::Vector3d ] plane2) -> [ Geom::Point3d, Geom::Vector3d ]
|
|
14
|
+
|
|
15
|
+
def self.linear_combination: (Float weight1, Geom::Point3d point1, Float weight2, Geom::Point3d point2) -> Geom::Point3d
|
|
16
|
+
| (Float weight1, Geom::Vector3d vector1, Float weight2, Geom::Vector3d vector2) -> Geom::Vector3d
|
|
17
|
+
|
|
18
|
+
def self.point_in_polygon_2D: (Geom::Point3d point, Array[Geom::Point3d] polygon, bool check_border) -> bool
|
|
19
|
+
|
|
20
|
+
def self.tesselate: (Array[Geom::Point3d] polygon_loop_points, *Array[Geom::Point3d] inner_loop_points) -> Array[Geom::Point3d]
|
|
21
|
+
|
|
22
|
+
type point3d_like = Geom::Point3d | Sketchup::Vertex | Sketchup::InputPoint | [ Numeric, Numeric ] | [ Numeric, Numeric, Numeric ]
|
|
23
|
+
|
|
24
|
+
type vector3d_like = Geom::Vector3d | [ Numeric, Numeric ] | [ Numeric, Numeric, Numeric ]
|
|
25
|
+
end
|