Dezmo's ex*-tension*

* *

*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” ( :innocent:) 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.

:beers:

Click to open the links:

👀 MATRIX - all about visibilities ( Experimental ! )

Yet another Scene Visibility plugin [by "request"]

How to change color of several layers at once - #53 by dezmo

Change the color of several layers at once - #9 by dezmo

Add a numerical suffix at the end of scenes names:
Looking to hire someone to create a SketchUp plugin - #8 by dezmo

Tasked with creating 1000+ image from 1000+ simple models. I am new to RUBY script, want to automate the task - #8 by dezmo

Displaying the volume of an object instantaneously during scaling - #11 by dezmo

Batch rename Group Instance

Change the definition of multiple components in bulk - #9 by dezmo

Can I align Construction Points to an axis? - #7 by dezmo

Deep Select/Selection Tools: Can we select every object in the model that has a the same material as selection? - #6 by dezmo

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

Component List Renaming - #7 by dezmo

Dezmo Weld

Plugin: Create a Tag per selected component - #8 by dezmo

Layout export file with name of the page - #7 by dezmo

Layers off and on - #7 by dezmo

Glass structures plugin, made on "request"

Sketchup::Layers. How do you sort it now with folders, as on the UI?

[WIP; by request] Road cutter - #9 by dezmo

[WIP; by request] Image Glue to

Basic Cube Grid Wireframe Script (Cubic Array) - #16 by dezmo
Wireframe BirdCages (scaffolding) [by request]

Changing units with one click - #27 by dezmo

Display keyboard shorcuts

Is there a method or extension to show a "swatch palette" of all materials in a model? - #4 by dezmo

Dezmo_find-replace_in_pagenames:
Looking to hire someone to create a SketchUp plugin - #26 by dezmo

Dezmo Save to older SketchUp Version

13 Likes

Hi Dezmo,

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

3D model: code-02.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.

Thank you for your codes! :slightly_smiling_face:

1 Like

Hi Dezmo,

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


Thank you!

1 Like

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


Thank you!

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

1 Like

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