Jump to content

DomC

Member
  • Posts

    585
  • Joined

  • Last visited

File Comments posted by DomC

  1. Edit:
    Added a New Version 1.0.2. where the script tries to convert non-valid cell numbers to numbers. The script tries to convert every cell so I hope this has no other negative effect. However the the existing Example is Version 2023 and works also on my Windows System with Swiss-German and German Keyboard Layout (Switzerland uses Decimal seperator ".", Germany uses ","). 

  2. On 7/5/2023 at 12:51 AM, DomC said:

    Hi
    It should still work in 2023 from my view. Which one you try to use? With the Worksheet input there could be an issue, if part numbers are no numbers and if values are seperated with comma instead points. 


    Seems like this is the case here. On windows OS, some Input Fields convert to comma decimal separator. 
    Der Input darf keine Kommas als Dezimaltrennzeichen haben. Das scheint aber hier auf Windows der Fall zu sein wie schon im ersten Kommentar erwähnt.

     

  3. On 8/9/2021 at 6:30 PM, DomC said:

    The really cool thing would to have a poly-nest similar to the rectangle-nest. There is open-source-code for this available so it would not be a project from scratch. Also this would allow us, for automating the complete process. That would be my next project if I would find the time because that is also a kind of project that is interesting for me.

     

     

     

    • Love 1
  4. Hi
    It should still work in 2023 from my view. Which one you try to use? With the Worksheet input there could be an issue, if part numbers are no numbers and if values are seperated with comma instead points. 

    I made a short test with input by layer and worksheet v2 both are working here.
    The others are old versions for 2019 or 2020. Sorry, the Versioning is not clear. v2 is newer than 1.0.1

  5. Hello
    This Script ist Cross-Plattform and also works on my windows computer.
    However, the following could go wrong:
    1. Did you picked the file? with the PickFile Node Button?
    2. Maybe Browser or Antivirus etc. change the downloaded Text file. Check out Text encoding (setting of the import txt v110) latin_1 or cp 1252 should match for windows. Did you opened the textfile with another software like excel or wordpad etc.? Maybe this changed the txt file or the text encoding of the file.
    3. Did you used the debug mode and/or the "print debug" to see, which wires have data or not
    4. I am using Vectorworks 2022 SP 2.1 on Windows 10. It runs with the downloaded text file and with the Vectorworks File Version 1.0.4.
    I run with a German Designer Version. Also it works with Architecture or interiorcad Version. I guess not with Landmark or spotlight because there is no space-tool available in this versions.

    Additional:
    - The "Split List Absorb" limites the lines to 20 (To not have too look for the first run, if someone have 2500 Spaces in his Textfile)
    I you would provide your vwx File, I maybe have a chance to find the error in your network.
     

  6. Must be the configuration of the column C. In the Example File, here is the area. And this must be returned on the port out1, which goes forward to the area of the space. Maybe you can check my movie I attached. Try to follow my stepts (picking your textfile, setup the Area-Column to out1)? I downloaded Version 1.0.4. and tested with the text file. 

    image.png.a87ccbe8e4a3eeb44678543d1d08a4fe.png

     

  7. @lgoodkind
    Can you provide picture and an Idea how the algorithm logic could be. That would be nice. If I adjust the node to grab randomly your diameters. The result is as following:

    image.png.9c49220186c1935d33f4d4aacc7ad99d.png

    still there is white space which could filled up with an enhancement of the algo. But this is quite complicated. Thats why this node is beta version and not finished.
     

  8. On 8/22/2021 at 1:39 PM, Raph said:

    Hi dom

    Thanks for your answers and your interest.

    first of all, did you update your "WorksheetInputExample_v2" file?

     

     

    I was able to reproduce the "freeze" on my computer also with VW 2020 and VW 2021. It seems it freezes by wrapping the Network to a Object Node before the code runs. So the Code is all right, it is the Wrapping-Technique, which produces a problem. I will submit a Bug for that.

    I deleted the empty pass nodes and deleted the name of the Wrapper of the Worksheet Wrappers. Those Wrappers and nodes produces empty outputs in the network, which maybe is results the appHang.

    New Version 1.0.1 of Worksheet Input Example Created for Vectorworks 2020/2021

  9. OK
    Just tested that application.
    1. Import units should be set in the settings to mm
    2. The sheet(board) must be added or imported by dxf

    So far, then it works. It seems to be a try and error algorithm, because it uses quite a while. Would be nice, to have a tool like this directly implemented in Vectorworks (also something, that can be handled by script/marionette)
     

    Bildschirmfoto 2021-08-09 um 18.32.01.png

    Bildschirmfoto 2021-08-09 um 18.44.44.png

    Bildschirmfoto 2021-08-09 um 18.45.27.png

     

     

    Source code nesting algorithm, seems to be java:
    image.png.9dbb209bd8779234ff1472d21ad7ac65.png

    • Like 1
  10. Cool

     

    Spontaneously  I would say, It has to go this way since we have no other Marionette:
    1. Unfold (Extracting Tool) Click on every shape and extract planar shapes
    2. Put them on screen-plane (Infopalette)
    3. Or alternatively there would maybe be a quite simple script to put every shape on a different layer (maybe not, because the pathes may be NURBS and they are not CNC-compatible)

    4. Next exporting DXF and (I don't like to say) import it in an other software to nest those polys. 
    maybe this one, looks free and looks at it runs on macintosh:
    https://deepnest.io/

    just downloaded it looks promising good!
    Edit:
    Seems that every DXF have to be imported one by one manually. Also it needs some settings (units). Did not testes, It did not work after one Minute.

    5. Some CNC-CAM-Software could automatically extract your 3D Model (export Parasolid)

    The really cool thing would to have a poly-nest similar to the rectangle-nest. There is open-source-code for this available so it would not be a project from scratch. Also this would allow us, for automating the complete process. That would be my next project if I would find the time because that is also a kind of project that is interesting for me.

     

  11. Hello
    Aha, you really take the Original File. So the issue could be related to the following:
    1. Platform (Mac Win)
    2. Country-Settings (dezimal seperator is point here)
    3. Vectorworks Version (I have German SP4)
    4. Program Settings (more or less Standard)

    Ah see the issue while I am writing here. On my windows computer it hangs since over a Minute. Seems to be the issue can be confirmed on windows here too. Thanks, I will update for any news.
     

     

  12. On 8/6/2021 at 9:44 AM, Raph said:

    Now I have a problem with the "worksheetInput_Example" file.

    This File "WorksheetInputExample_v2" (without any changes) runs without issues here in 2021. Can you attach your File here?

  13. On 7/22/2021 at 11:00 AM, MJU said:

    I also tried the standard 1.03 for VW2021 and noticed that all the Spaces get the same size, while the attribution works fine

    Ahm ... good found
    I provided a new Version (1.0.4) which handles editing of the space boundary different and this seems to work (hope for many years :-)

    • Like 2
  14. 20 hours ago, MJU said:

    Hi DomC,

    first of all thank you this is great work and so useful. From your point of view would it be possible to modify the script in order to create rectangles with Data Tags?

     

    I'm trying to follow a more 2D oriented hands on workflow because with lots of changes and adjustments spaces get laggy and messy very easily. But I still don't want to miss out on your great script and the ability to analyze the data.

     

    Would be nice to have a qualified opinion on this approach.

    Thank you. I wonder, why the most usefull things always have the lowest rating here 🙂

    Using Rectangles instead of Space PIOs could make definitely sence.
    To have rectangles instead of Spaces you could modify the script as following:

    1. Create a Symbol with a Rectangle inside and link it to your record format. So you save that part of setting record to objects and tagging objects by script.

    You can Tag the Rectangles at the end with the "multi-Tag-Methode"


    2. Modify the brown Wrapper like this. It would result in a much more simple script

    image.thumb.png.2e0044a9ff919da3bfa82b29f120afdf.png 

     

     

    3. Then you have to edit the "Set Record Field" part of the script with your own record name instead of "Space".


    Other Options also possible but I think this is the most easy workflow. 

     

     

     

     

     

     

    • Like 1
  15. On 12/7/2020 at 10:26 AM, t.aichele@freudig.com said:

     

    Hi Dom, thanks for the good puppet! I am currently using this on doors. Can it be that this puppet only allows a shift from left to right and from bottom to top? Furthermore, I cannot calculate correctly with the script, which math functions or symbols can I use for them?

    The actual Version, is able to shift from right to left, top to buttom also. +-*/ and all parameter input names should work.

  16. Hi
    You could directly connect the xlsx reader instead of csv reader, this works perfectly.

    483867189_Bildschirmfoto2021-04-18um22_45_38.thumb.png.f1db872cd754017ca4b6257c39fe91fb.png

    I would first try this one because if you have an excel File this would be the direct way (If it works, because text encoding is a real pain). By the way your worksheet for me looks like an encoding issue too 🙂  Maybe not just islandic?

    Also the First version v2018, uses a Vectorworks Worksheet for input. This still works and you could just connect the worksheet reader instead xlsx or csv reader. 

    735736101_Bildschirmfoto2021-04-18um22_50_37.thumb.png.f21f91d6dd5eb0711b978ff3dcd28d80.png

    • Like 1
  17. 12 hours ago, t.aichele@freudig.com said:

    Can it be that this puppet only allows a shift from left to right and from bottom to top? Furthermore, I cannot calculate correctly with the script, which math functions or symbols can I use for them?

    1. Shift the Geometry by half of the Parameter, so the object would keep his middle
    2. For Calculation Extract the Input Parameter with Get XY. Also to could feed the input Parameter with Point 2D If you don't want to show Parameter Name
    image.thumb.png.1476ff4a56179c6e87628329eacb1490.png
     

×
×
  • Create New...