-
Posts
646 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
File Comments posted by DomC
-
-
@Luise
It hard to intercept every bug in other components but I think this Update will fix it:
1. Uses 11_Area which seems to be m2 instead of cm2
2. separate numbers from unit and can handle , as dezimal delimiter.
3. Returns 0 for Bottom elevation if elevation is negative (can't fix this, maybe I could by getting the IFC elevation height, but I don't want to)
You can try the attached Update File it will work without error Message
-
Are you testing in 2019?
In 2019 space delivers cm2 for area and negative elevations will result in empty output. That will result in issues because the script is not made to deal with empty input. I will look what.
Also the "Get Record Field" Node from 2018 will be broken in 2019.
-
Hi @Luise
An Update is available. Now it eats comma separated numbers together with units.
-
1
-
-
Hi
There is an update. The "VP Layer Visibility" has no bug. It just set the same visibility in all created vp. So not very usefull for creating more than one viewport with different visibilities. However I made this node new. It works now with different input sequences. So every created vp can have different visibilities.
Quotehttps://forum.vectorworks.net/index.php?/files/file/182-automated-layout/
Updated Nodes:
Set VP Layer Visibility
Set VP Class Visibility
New Node:
Get Saved View Visibility (optimal for view saved classes for classes). Suspicion to be slow ... with over thousands of spaces
This Project seems to have a big demand. So I plan to make other examples in Future, if nothing more important comes up:
1. Putting several spaces on one layout. Lets say all spaces of one layer maybe. By the way, 1500 Sheet layers are not an issue at all with 2019 and the new layer
2. Naming Viewports by a system. Let's say Layer+RoomNumber+RoomName
3. Update function for existing layouts. Just new rooms will be layouted, not all spaces again. So it will by fast with 4000 spaces
4. Try with detail viewports maybe (not sure if it's possible maybe same issue like sections)
5. Sections could be interesting (whereby i tried and already failed ... maybe with 2019, let's see)
6. Meaningful Ideas and "customized" solutions also.
Post your successes !
-
1
-
-
Hi Matt
Hm ... it's seems to be a bug in the "VP Layer Visibility". I will look into this to provide a fix.
-
the first two handles are different from the others.
Follow the handles from right to left in the script. Then you will see, that they are strings before they got handles. They also will be the same string. That's how I search an error. Like the TV, if cable connection is broken. Follow the cable back and you will find the faulty connection.
The name is built from the Room Number "11_Number". Which maybe is empty in your file and the Layer name of the space. If this is being the case all spaces from one layer will putted on the same layout on the same place. To fix that:
1. Take another (unique) data from the space. Or create room numbers
2. Feed the Sheet Layer name producer with a series of numbers.
3. Make the Position of the Viewports a Serie of coord Points and the will lay side by side.
-
Hi
Use "Print Debug" to see, what's coming in the "Create Layer" Node. If you have always the same layer name (input) or the same layer handle (output), all your viewports will created on the same sheet layer.
-
Sure
The Script needed a little Updates for 2019. Cause the Path Handling in 2019 is better than in 2017/2018 I had to delete some lines.
-
1
-
-
Attached an Example with Spaces (Name "Flur").
The original Example has the limitation, that some values of viewport position (function node and vector input) of are in mm instead of document units. I corrected this in the attached VWX example with spaces.
The rotation task is not implemented. But the rest works for your scenario I think.
-
Hello
I try to push this somewhere between. As far as the criteria is matching (search for every space with Flur in the name or similar) It will push all such Spaces into the script. It would need the following adjustments:
1. Read Layer name of Space to make this layer visible in the viewport (easy task)
2. Read Room Infos to name layout with the room number, room and layer name etc. (easy task)
3. The project seems to be directed to north. So maybe you want to turn the viewports by this angle (maybe all the same angle?) or by the angle of the text label? (medium task, could take some hours to implement the angle)
4. In the existing Example the room would be marked with a rectangle around the bounding box of the room. For your scenario it would be better, to use a parallel polygon to the room polygon (particularly it the room is rotated as yours) (medium task)
So it could take some hours to fit the example for your explicit usecase. Always this scripts have to perfect from experience. More perfect than any other tools because users can see, that every little limitation can be eleminated by a custom workflow script.
Have all parts of the building the same angle? So what is about beeing the boss in the project and make your own angle of the building? It is a common workflow to not north the building and not use a international origin. You could layer-link the building in a georefered overview plan if it is necessary. Just a stupid idea. It is not possible to command a project angle and project origin in every project. But it would save time.
-
1
-
-
Hi
I like the wish of transporting dada without wires. I can see many issues with your approach and would not use that.
It maybe would be better to cache data on an external ressource or on the recall wrapper itself. You could name the recall wrapper an send data from the save wrapper to a record format which will be attached to the recall wrapper.
I am working on a cache node, which cache everything that is running through a wire. That would be very good for caching data of a big network which need a long time to calculate and would speed up workflows.
You could save global variables as well, which would be the technicall solution for wireless data. But if you load a global variable before it was stored it could
-
Thank for competent Feedback.
QuoteIf the width of the 2D BBox > 400: the scale of the viewport could be 1:50 instead of 1:20, or have a varying scale depending on the width.
for sure, this would be a nice refining. 1:50 / 1:20 step could be made like this:
QuotesLinvis is described as grey instead of invisible (and I think it would be easier on the eye if the standplaenung-layer was grey in the overview viewport)
True Thanks. I focussed time investment on getting section Viewports on my layouts (which failed and I dropped this for now) instead of maturing the vp nodes.
To have a complete set of VP nodes there also a class visibility would be needed.
Updated the File. By the way, thats just a study. Maybe it would more practical to just duplicate a default layout with placeholders for vp and text fields. So it would be scalable on new situations very fast.
-
Hi
Looks somehow interesting. Is this just the exercise or did you maybe missed pasting the marionette network of the solution?
Regards
Dom
-
1. In your original File-Download none of the Room_IDs have some content. Now you found the right field the m2 is visible, right?
2. If I copy the original Marionette in your original File, enter a room id and link room id to the marionette (same room id), everything works as described.
3. You created a Marionette, which is completely different to the original script. You don't use a symbol you just place text objects. If you created a new script maybe a Thread in the forum would be the right place to discuss this.
-
It's point 1 from my list above. This stamp needs the Field "Raum ID" which is an empty field in all your spaces. "Raum ID" is not the same as "Raum Nummer".
-
Can't reproduce that with the information you delivered.
1. Maybe your stamp just loss connection to the rooms, Room ID changed etc. Does your spaces have the value Room ID as Example "W.1.1" like in my example?
Changing scale, rotating or moving maybe just update your stamp and it shows the truth (stamp has no link to rooms)
3. Does my example work? If yes, what you made different?
4. Maybe you created a hybrid symbol and symbol text is 3D or something like this?
5. Maybe there is an issue with your document units show or hide or did you created a custom area unit? The record field is a number if you feed this number with a string (5 qm instead of 5.0) it will maybe fail. Try to make a Text field in the record format could fix if this was the issue.
6. Line Spacing
The tool works like a symbol with text, linked to record. So you can test that with a simple symbol. Your appartment area stamp will look like your symbol. If it looks wrong, your symbol also looks wrong. Maybe unfix textfield width in your symbols.
7. Upload your Example ... it's hard to help without that.
-
-
Hi @ccsw
Thank you very much for that input. There is a build in function "Marionette.Is2DObject (obj)". This checkes if an Object is 3D or if an Object is 2D. 2D and 3D are handled with other functions. At the release time of the node (maybe still, I did noch checked that) this function did noch correctly sort 2D and 3D Objects. So I think I just hardcoded the line "Is_2D_Obj = True #Marionette.Is2DObject (obj)" (It means that the node always handle objects as 2D)
The line should be correctly (if the marionette function was correctly) "Is_2D_Obj = Marionette.Is2DObject (obj)". A new Version of the node is uploaded.
-
2
-
-
The Attached Example (Copy of the original file but with different Pillow download path) works with VW 2017 Mac Version (Windows not tested, but it also should work).
-
A Workaround for 2018 Macintosh
1. Unzip and copy the attached Folder into the user folder (Vectorworks Preferences -> User Folder -> Revieal in Finder) into the Folder "Python Externals"
2. You can use with all scripts that uses Pillow. Also the above Script will work.
-
1
-
-
I got it to work on Windows but not on Mac. I was not able to get a working url for Pillow with Vectorworks 2018 on Macintosh. Reported a Bug for VW 2018 but I am not sure, if this is A Vectorworks issue other modules can be installed without any issues.
Would be glad to got a solution for Pillow on Macintosh. This is the only module for image processing i found. Other image modules also needs pillow as an image library.
-
Great @Bertf
Your Screenshots shows a contour in x direction with different z values. My screenshot (found out now) shows simple Drillings (v-fräser). But the x-distance is 10x of the y distance. Thats why we can see lines.
My screenshot shows the variant of 3D contour with a v-fräser. Too bad I have no place for a CNC-Milling machine.
Can be done easy with the chunk node (to get single polygons for every line). EAP created for visualisation.
-
-
Apartment Tag / Wohnungsstempel
in Marionette - Networks
Posted
Hi Pat
Thanks for reaction. You are right and I already switched to 11_Area in the 2019 File.