-
Posts
58 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Mirko Guhr
-
-
Good day @giobbe,
would you like to share some screenshots or a file with a section of your network?
To help, I would need a better understanding of how the note is used in your network and what parameters it is fed with.
Or does my example also not work for you?
Best regards
-
Hello @giobbe,
Here is an example.
In my case, the file is located in the path:
E:\VWX\Example
To work correctly for you, you would need to:
a.) place the file in the same path
or
b.) change the string in the example
🙂
Best regards
-
1
-
-
Unfortunately, a project of mine has gotten a bit out of hand, and I had to put my private hobbies on hold 🙂.
Therefore, the plan is delayed a bit. However, I don’t want to leave you completely in the dark about what I have planned.
As it sometimes happens, the small things are quite complex.
Unfortunately, as mentioned before, I can’t make the DataTag available with code. Therefore, my current consideration is to build you a custom "DataTag".
My plan is to check the selected objects and read out the required data.
Then, as with the current script, a rectangle will be drawn around the objects and placed in the drawing. Also, at this position, a kind of “DataTag” will be placed that contains the information of the objects. This “DataTag” consists of individual lines of text like the normal DataTag.
The lines, like the normal one, have a background that colors itself based on the curtain that the text reflects.
I am already testing the individual sub-functions of the script so that I can then code the whole thing properly into a large script.
It is as complicated as it sounds 😄. Therefore, I can’t promise that it will turn out as I hope in the end. It may well happen that a function doesn’t work and thus the rest of the plan fails.
But I’m on it and haven’t forgotten you. However, I also think that the script as it is now (without clear assignment) doesn’t provide much added value.
The risk that the wrong curtain will be hung during assembly is too great. That’s why I want to try it. I think I’ll get back to it a bit by the weekend and report back at the end of the weekend on how things are going.
Best regards 👋
-
1
-
-
The former would probably apply.
With my current project, I probably can’t guarantee that the order of the colors will always match.
However, the project aims to ensure that the colors of the DataTag match the colors of the curtains.
-
If my current idea doesn’t work out, the posts would be a possible solution. But that would only be a kind of compromise if it doesn’t work.
The pattern behavior of the DataTag would be the following, right?
Would it also be okay if the colors don’t match the position on the truss? Because this assignment would only be correct for the horizontal truss. Here’s an example of what I mean. Would that be okay for you?
-
@Peter Telleman
Forget my last two posts 🙂-
1
-
-
Would it also be okay if the “orientation” doesn’t always point to the center?
Here’s an example:
The blue curtain is located at the bottom and right on the “blue area”. Left and top on the “red area”.
Would that be okay with you?
-
I have fallen a good bit deeper again 😄 and I have an idea.
Yes, the vertical truss idea also crossed my mind, and it doesn’t make things easier.
Example:
There are two stage areas separated by truss. The middle truss now has neither an outside nor an inside. Possibly even with white fabric on each side, but maybe in a different style because it’s printed or projected with a beamer.
My thought would be to give each strand a fixed color.
Example: inside = red
middle = green
outside = blue
Transparent in the background.
The lines in the DataTag are also colored. We could also use numbers, but they might be hard to see on larger plans.
But this way, as you already mentioned, we could completely omit the inside/middle/outside assignment and just work with the colors.
The rectangle color indicates which strand. The DataTag is also colored accordingly. And the curtain itself (the wave) is also visible, so I can see which style is needed.
Something like that?
However, it shouldn’t be a color mess 😄
-
That would mean that the dataTag represents the attachment points of the curtains on the truss.
I don’t think I can modify the data stamp as easily as I would like. My skills aren’t quite there yet.
We might also need a second script that processes the generated data stamps afterward and deletes the unnecessary lines. But that’s too far off. I can’t manage that yet 😄.
-
2
-
-
not more than 3, correct?
-
1
-
-
No, blacck was again the human error 😄.
Okay, now it’s getting interesting.
If only one fabric appears in the section (group), it can also be attached at different positions and should be reflected in the data Tag?
Example:
-
1
-
-
Something like this could also happen under certain circumstances, right? Referring to the arrangement of the fabrics.
(This was just quickly created manually)
-
2
-
-
Can you take one or two pictures of an entire truss project in top view?
I currently have the problem of how the script knows what is inside and outside. My first thought was to solve it with an additional click. So, mark - run script - click where inside is - script continues.
But I find that too error-prone. Therefore, I would like to create an object that is in the accessory manager. This symbol must be placed and essentially indicates the inside. When I run the script, it takes the position of this object and looks at where the individual curtains are in relation to it. This way, I can determine where inside and outside are.
Whether it works exactly like this is currently only in my head.
But either we have this object, or each style/color is clearly assigned to a position. But I think that’s impossible. Would this additional object be acceptable to you? The screenshots should roughly show me how the rigs are arranged. But in an emergency, you would have to move the “zero-point object.”
What do you think of the idea?
-
Thanks for the template, I understand it better now. I’ll think about it some more.
In the truss example, no trim height is specified. But you would like to have it included, right?
And you label everything manually each time? That must be exhausting 😄.
-
2
-
-
-
I think it’s Version 2024, please 2023
-
Is the color always 100% the same? So always pink/green/black?
Do you just manually change the color when the curtain is moved elsewhere?
So, it can also be that a style hangs both outside and inside with different pen colors?
But you also mentioned you have a few more. A few more styles or also colors?
-
Regarding the color and assignment, I thought about it again.
In principle, the rectangle can simply be moved to the background or the class can be hidden, and the curtains become visible again.
One could also create a rectangle for each curtain that has the color. However, the generated rectangle would probably become a group with the database, and within the group, the rectangles with color. But the color would actually be obsolete because you can simply hide the rectangle… hmmm.
Isn’t the problem with the assignment more related to the dataTag? Because I don’t have an assignment to the color here.
The ideal state I imagine is:
That the field Inside, Center, Outside is colored the same as the curtain.
Or am I missing something?
-
I’m glad if it works for you 🙂.
I also briefly considered which side is which, but if the colors are fixed, it could work.
What information do you want from the truss? I have another idea that I want to develop a bit further.
I’ll briefly explain how the script filters, then you can tell me if it fits or if these values can change.
To find out which fabric is positioned where, I looked for a value that clearly indicates the assignment.
I have
used the main type of textile.
Value assignment:
CS Molton = Outside
PES + PA = Center
PES = Inside
Is it always like this? So, is a PES never outside?
The script is relatively simple. For example, if you mark two PES fabrics and run the script, only the value of the first PES fabric will be transferred to the database.
If the values are not always fixed, we need to find another solution.
-
And now I was too quick with typing. Shame on me 😞
Just to clarify: The rectangles are completely detached from the curtain. The data is taken directly from the curtain and stored in the database of the generated rectangle. The attributes can also be easily changed via the attribute window. However, they then lose the connection to the class. This is normal behavior for objects, nothing special or anything like that.-
1
-
-
nur kurz zur Klarstelllung. Die Rechtecke sind komplett losgelösten von dem Vorhang. Es werden direkt die Daten aus dem Vorhang genommen und in der Datenbank vom erzeugten Rechteck abgelegt. Die Attribute können auch einfach über das Attribut-Fenster geändert werden. Allerdings verlieren sie dann die Verbindung zur Klasse. Ganz normales verhalten von Objekten. nichts spezielles oder so:
-
1
-
-
If your DataTags had to remain, you could point your finger at me and laugh out loud. That wouldn’t bring any improvement.
The inner pages in the video are black because my human error is being showcased here, by myself 😄😄.
I assigned the text to the wrong field in the DataTag. I will leave a separate database after all. Then you won’t have any problems later if you need to do something.
Here is a short current video:
I will send the final data and instructions later.
-
1
-
-
And the generated object doesn’t have to be a rectangle. I just found it quite charming because you can also change the color of the rectangle or control it directly via the class, and visually separate the individual groups better. Even if you want to measure the curtains on the rig later, the rectangle could be advantageous to make the seam more visible. But I think you understand what I mean.
We could also define a symbol that is displayed. I just need an object where I can store the data of the curtains so that the data stamp can pull from it. You can decide what you want.
-
1
-
-
@Peter Telleman
I think I have some good news for you.You have a database in the file “EntEquipUniversal”. Is it yours? And may I expand it? Currently, I have temporarily created my own. However, I prefer to have similar things in one place. Once I have your response, I will finalize it and send it over. Here is a first glimpse. The detailed instructions will follow in the final version
We can keep it as a script in the accessory manager, as it is currently. Then you can execute it via the script palette or directly in the manager with a right-click.
We can also create a menu command or, what I almost prefer, we can make a tool out of it, which could even be assigned to a key 😄.
We would also need a class where I can store the objects.
The short version: Select objects - run script - BoundingBox is generated - apply data stamp to the box - hide the box with “CTRL-B” in the background or class.
By hiding the class, the box disappears completely without affecting the data stamp.
Since it is a rectangle, it behaves a bit awkwardly with slopes, but that does not affect the script.
I would also add Front/Center/Back to the data stamp. I forgot to mention that quickly.
But more on that in the final version 😉.
-
1
-

Insert Symbol from Favorites
in Marionette
Posted
Hi @giobbe,
i'm glad it was just that 🙂.
I usually mention it, but this time I really forgot.
Learned something again 👍.
Good luck with the project!