Jump to content

DomC

Member
  • Posts

    646
  • Joined

  • Last visited

File Comments posted by DomC

  1. @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

     

    Apartment Area v1.2.1 v2019.vwx

  2. 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. 

  3. 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.

     

    Quote

    https://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 !

     

    • Like 1
  4. 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.

     

    1714955847_Bildschirmfoto2019-01-21um07_50_04.thumb.png.6ce6bdcb895832b940652619cca60635.png

    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.

    473679108_Bildschirmfoto2019-01-21um07_54_22.thumb.png.636b16cfa2ba8beefe6ff60668a456e9.png

    3. Make the Position of the Viewports a Serie of coord Points and the will lay side by side.

     

     

  5. 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.

  6. 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. 

     

    1094221414_Bildschirmfoto2018-12-18um00_04_53.thumb.png.38ee60fb0751fbbb1275214bbd946f58.png

     

     

     

    Automated Layout Spaces.vwx

  7. 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.

     

     

    • Like 1
  8. 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 

     

     

     

     

  9. Thank for competent Feedback. 

    Quote

    If 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:

    1393275931_Bildschirmfoto2018-11-10um22_54_18.thumb.png.938c9edf003880e6576a0603315b7cc3.png

     

     

     

    Quote

    sLinvis 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. 

     

     

    892346321_Bildschirmfoto2018-11-10um23_14_22.thumb.png.aeec92e4e9a447fb2b7fd05250839920.png

     

     

     

  10. 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. 

  11. 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.

     

     

     

  12. 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.

    Put by Ref Point v1.0.1.vwx

    • Like 2

    Halftone

       234    33

    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.

     

     

    PIL.zip

    • Like 1

    Halftone

       234    33

    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.

    Halftone

       234    33

    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.

     

     

    1.PNG

    2.PNG

    path extrude.PNG

    3.png

    Halftone

       234    33

    This is Great Bert

     

    Have you also tried to mill in a line structure? and connect the Points?

    Should this work, if I had a 3D Polygon. And can convert this to a 3D Path with the DXF Post-Prozessor?

     

    5abcaa391f25f_Bildschirmfoto2018-03-29um10_54_12.thumb.png.a0e1cda412f997d6df582b96c9815473.png

     

     

     

    Bildschirmfoto 2018-03-29 um 10.54.07.png

  13. Some Screenshots of a carpenter who uses this for cutting arrangements.

    So great to see, how other people uses those technology (and days of work) to improve their workflows. http://www.garzotto-ag.ch/

     

    Screenshots attached

     

    5a3ae63760824_TheProject.thumb.jpg.60817b8488f6de241e3c3752acbbb426.jpg

     

    5a3ae65fa7b02_CuttingArrangement.thumb.jpg.577834b88bcaf5d2876418e2ebf1a063.jpg

     

    5a3ae673141de_Stackedworkpieces.thumb.JPG.8a9c5d8c601aa0903a272a6151018fb1.JPG

     

     

     

     

     

     

×
×
  • Create New...