# Dezmo's ex\*-tension\*

**URL:** <https://forums.sketchup.com/t/dezmos-ex-tension/251336>\
**Category:** Extensions\
**Tags:** extensions, request, plugins, code-snippet\
**Created:** [December 10, 2023, 4:08pm UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336 "2023-12-10T16:08:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [December 10, 2023, 4:08pm UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/1 "2023-12-10T16:08:03Z")

</div>

> **\* \***
>
> \*_ex:_  
> Former  
> Removal or release
> 
> \*_tension:_  
> Mental or emotional strain. A mind that is affected by stress or tension cannot think as clearly
> 
> (Writing a code snippets for me is a kind of relaxation against the daily stress caused by my work of a completely different nature.)

_Motto:_  
_The more I learn, it becomes more clearer how much more I have to learn._  
\_\_  
Over the years I’ve done some useful or less useful, good or bad bits of code. I thought I’d collect it in one place - for myself and for you - to make it easier to access.  
You can probably guess from the topic title that these are not necessarily fancy or fully finished plugins (or extensions), but these code snippets can still serve the given purpose.

I’m not a programmer or a 3D designer, I just enjoy learning and using the possibilities inherent in the Sketchup Ruby API. I spend some of my free time listening to questions on the forum and using my programming skills to answer some if relevant. In other words, it is part of my “special” learning method of programming.

In addition, I will continue to monitor “all” ( 😇) topic/post , You can request simpler plugins in this topic. This is not a promise or an obligation, just a possibility. Either I can/want to do it or I can’t…it will be my own decision.  
At certain times of the year, I devote more time to my hobby, and at other times less. I’m just a person like you, I have my real private life, family and friends and job.  
I am not a Sketchup employee.

Please keep this topic clean, if you have any questions about the code snippet in the link, ask it there instead.  
**Don’t send me a private/direct message or request, please!** I’m likely to ignore that or react in an unexpected way.

The order of the links below is random. Feel free to remind me if I missed some.

🍻

> **Click to open the links:**
>
> [🎲 ViewDice Overlay (ViewCube)](https://forums.sketchup.com/t/viewdice-overlay-viewcube/301612)
> 
> [👀 MATRIX - all about visibilities ( Experimental ! )](https://forums.sketchup.com/t/matrix-all-about-visibilities-experimental/190449)
> 
> [Yet another Scene Visibility plugin [by "request"]](https://forums.sketchup.com/t/yet-another-scene-visibility-plugin-by-request/247939)
> 
> [How to change color of several layers at once - #53 by dezmo](https://forums.sketchup.com/t/how-to-change-color-of-several-layers-at-once/110258/53)
> 
> [Change the color of several layers at once - #9 by dezmo](https://forums.sketchup.com/t/change-the-color-of-several-layers-at-once/250925/9)
> 
> Add a numerical suffix at the end of scenes names:  
> [Looking to hire someone to create a SketchUp plugin - #8 by dezmo](https://forums.sketchup.com/t/looking-to-hire-someone-to-create-a-sketchup-plugin/249443/8)
> 
> [Tasked with creating 1000+ image from 1000+ simple models. I am new to RUBY script, want to automate the task - #8 by dezmo](https://forums.sketchup.com/t/tasked-with-creating-1000-image-from-1000-simple-models-i-am-new-to-ruby-script-want-to-automate-the-task/234148/8)
> 
> [Displaying the volume of an object instantaneously during scaling - #11 by dezmo](https://forums.sketchup.com/t/displaying-the-volume-of-an-object-instantaneously-during-scaling/214642/11)
> 
> [Batch rename Group Instance](https://forums.sketchup.com/t/batch-rename-group-instance/190682)
> 
> [Change the definition of multiple components in bulk - #9 by dezmo](https://forums.sketchup.com/t/change-the-definition-of-multiple-components-in-bulk/195459/9)
> 
> [Can I align Construction Points to an axis? - #7 by dezmo](https://forums.sketchup.com/t/can-i-align-construction-points-to-an-axis/191490/7)
> 
> [Deep Select/Selection Tools: Can we select every object in the model that has a the same material as selection? - #6 by dezmo](https://forums.sketchup.com/t/deep-select-selection-tools-can-we-select-every-object-in-the-model-that-has-a-the-same-material-as-selection/188894/6)
> 
> The axis origin of selected components, groups will set to its bound left front bottom corner. Including all nested…  
> [Flickering faces import IFC due to component axes - #20 by dezmo](https://forums.sketchup.com/t/flickering-faces-import-ifc-due-to-component-axes/182160/20)
> 
> [Component List Renaming - #7 by dezmo](https://forums.sketchup.com/t/component-list-renaming/166388/7)
> 
> [Dezmo Weld](https://forums.sketchup.com/t/dezmo-weld/132254)
> 
> [Plugin: Create a Tag per selected component - #8 by dezmo](https://forums.sketchup.com/t/plugin-create-a-tag-per-selected-component/166407/8)
> 
> [Layout export file with name of the page - #7 by dezmo](https://forums.sketchup.com/t/layout-export-file-with-name-of-the-page/127005/7)
> 
> [Layers off and on - #7 by dezmo](https://forums.sketchup.com/t/layers-off-and-on/215524/7)
> 
> [Glass structures plugin, made on "request"](https://forums.sketchup.com/t/glass-structures-plugin-made-on-request/232255)
> 
> [Sketchup::Layers. How do you sort it now with folders, as on the UI?](https://forums.sketchup.com/t/sketchup-layers-how-do-you-sort-it-now-with-folders-as-on-the-ui/171887)
> 
> [[WIP; by request] Road cutter - #9 by dezmo](https://forums.sketchup.com/t/wip-by-request-road-cutter/251644/9)
> 
> [[WIP; by request] Image Glue to](https://forums.sketchup.com/t/wip-by-request-image-glue-to/255333)
> 
> [Basic Cube Grid Wireframe Script (Cubic Array) - #16 by dezmo](https://forums.sketchup.com/t/basic-cube-grid-wireframe-script-cubic-array/258616/16)  
> [Wireframe BirdCages (scaffolding) [by request]](https://forums.sketchup.com/t/wireframe-birdcages-by-request/259035)
> 
> [Changing units with one click - #27 by dezmo](https://forums.sketchup.com/t/changing-units-with-one-click/71546/27)
> 
> [Display keyboard shorcuts](https://forums.sketchup.com/t/display-keyboard-shorcuts/262063)
> 
> [Is there a method or extension to show a "swatch palette" of all materials in a model? - #4 by dezmo](https://forums.sketchup.com/t/is-there-a-method-or-extension-to-show-a-swatch-palette-of-all-materials-in-a-model/266054/4)
> 
> Dezmo\_find-replace\_in\_pagenames:  
> [Looking to hire someone to create a SketchUp plugin - #26 by dezmo](https://forums.sketchup.com/t/looking-to-hire-someone-to-create-a-sketchup-plugin/249443/26)
> 
> [Dezmo Save to older SketchUp Version](https://forums.sketchup.com/t/dezmo-save-to-older-sketchup-version/266997)
> 
> [Nesting a single group in a new component - #4 by dezmo](https://forums.sketchup.com/t/nesting-a-single-group-in-a-new-component/301203/4)
> 
> [Script to apply offset - #2 by dezmo](https://forums.sketchup.com/t/script-to-apply-offset/316138/2)

---

<div class="post-metadata">

**Author:** ![mihai.s](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mihai.s/32/202022_2.png) [@mihai.s](https://forums.sketchup.com/u/mihai.s)\
**Post date:** [December 11, 2023, 9:42am UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/2 "2023-12-11T09:42:36Z")

</div>

> [@dezmo](#):
>
> You can request simpler plugins in this topic.

Hi Dezmo,

if you find it interesting and not very complicated to do.

3D model: [code-02.skp](https://forums.sketchup.com/uploads/short-url/pV590ljLDAcxYxhTGhURHylhHFj.skp) (189.6 KB)

short explanation: Project a curve vertically (virtually) on a surface (or only on some edges), and at the intersection of the edges, break them and delete one of the two segments (I marked in red the part that should be deleted). Bonus could be to create edges that connect each end to the other edges.

 ![code-04](https://global.discourse-cdn.com/sketchup/original/3X/3/4/34e59dc2f98e2a5f39238b95784b603ba948b570.jpeg)

Thank you for your codes! 🙂

---

<div class="post-metadata">

**Author:** ![mihai.s](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mihai.s/32/202022_2.png) [@mihai.s](https://forums.sketchup.com/u/mihai.s)\
**Post date:** [December 12, 2023, 9:42am UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/3 "2023-12-12T09:42:34Z")

</div>

Hi Dezmo,

_idea/request-02_ - automatic generation of 2D (or 3D) walls from the selection of edges

 ![idea-02](https://global.discourse-cdn.com/sketchup/original/3X/a/9/a915728ce90d803b6784952ff360eb386cecf17a.jpeg)  
Thank you!

---

<div class="post-metadata">

**Author:** ![mihai.s](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mihai.s/32/202022_2.png) [@mihai.s](https://forums.sketchup.com/u/mihai.s)\
**Post date:** [December 12, 2023, 9:48am UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/4 "2023-12-12T09:48:47Z")

</div>

Hi Dezmo,

_idea/request-03_ - creating two parallel lines at a certain distance from a point

- choosing a point;
- choosing a direction and setting a distance;
- drawing a double line (you set the distance between the two), or maybe a rectangle;
- automatic deletion of the edges that connect them

 ![idea-03](https://global.discourse-cdn.com/sketchup/original/3X/7/9/7932112b5efbc545aafeea4ba222e96114749173.jpeg)  
Thank you!

---

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [January 13, 2024, 12:55pm UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/5 "2024-01-13T12:55:30Z")

</div>

> [@mihai.s](#):
>
> automatic generation of 2D (or 3D) walls from the selection of edges

💡 Perhaps it can be done by  
[https://extensions.sketchup.com/extension/2a5ee4c9-bd10-4f10-bdb0-5c796b72c277/s4u-frame](https://extensions.sketchup.com/extension/2a5ee4c9-bd10-4f10-bdb0-5c796b72c277/s4u-frame)  
(Does not tried)

---

<div class="post-metadata">

**Author:** ![mihai.s](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mihai.s/32/202022_2.png) [@mihai.s](https://forums.sketchup.com/u/mihai.s)\
**Post date:** [January 14, 2024, 7:33am UTC](https://forums.sketchup.com/t/dezmos-ex-tension/251336/6 "2024-01-14T07:33:15Z")

</div>

Yes, Dezmo, this is a suitable extension for that. Also TIG Latticeizer and Profile Builder 3.  
Thanks!
