![]() ![]() Initially it is set to SnapTo_Arbitrary, meaning that the Image should snap to any Face or object. The CD also has a Behavior object that determines things such as how new instances of the Image are supposed to snap to other objects. If you import the same image file a second time, it gets a separate CD and a sequential name such as Image#2. You can copy and paste an Image via the GUI and it will show up as another instance of the same CD. You can detect this kind of CD via the ComponntDefinition#image? query on it. ![]() The Entities collection of the Image’s CD contains a Face and its Edges, presumably the size of how the image was imported. It turns out that the raw data for an Image is captured in a special kind of ComponentDefinition (CD) in the model’s DefinitionList. If you peek beneath the covers using Ruby, you will find there is some very strange stuff going on with regard to Images! You need to import again, or drag’an’drop from File explorer.) The copy paste image to other place does not initiate the addition of “glue” property in any case. Solution: In the hand of Sketchup dev team. Workaround 2: A small code snippets or Extension can be written to glue Image to Face, to Group, to Componentinstance, or to other Image. Workaround 1: The “glue” property can be achieved by going to the editing context of Group or Component containing the face and place it to face. So, for sure something has been changed (bugged) at 2023. And the insertion point of image is jumping to the image center, instead stays on the lover left corner when you release the image. I can confirm: The versions before 2023 can glue it to Group, Componentinstance, or to other Image, but the current (latest) v23.1.340 on Windows that ability are no longer works. When you initially import a raster as an image object into SketchUp and place it on a Face, SketchUp automatically adds the “glue” property to the image. One of the characteristics of the “glue” property is that the image take visual precedence over the surface even though they share the same plane. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |