AntFarm - data management for Rhino and GH - Pre-Release out now

Perfect. Kindest Christian

I just had a little more time to play with this and seem to be running into a consistent problem. If I have the Antfarm plugins unloaded when I open Rhino, I can then load them and use Antfarm without issues in that instance of Rhino. However if I have the default set to load Antfarm on startup, Antfarm won’t load and I get various error messages. I also can’t seem to save Antfarm data into a file, (when I reopen and then load Antfarm, there are no datasets in the model anymore.)
It almost seems like something’s not loading properly with the background database(not sure how that works).


Antfarm error 1 details

Hi @Cstone,

I just made a clean virtual windows 10 machine and tested everything. It seems to work for me. Did you just make a DataSet without Attributes or did you include attributes before saving the file? If yes: what type of attributes did you use?

Maybe we should setup a Zoom session. Let me know if you have time.

Kindest
Christian

Hmm, it seems to just be on one computer. I tried another computer and I don’t have any issues. I’ll play around and see if I can pinpoint what’s going on.

Hi everyone,

just made a new build (0.0.34) regarding RH 7.25.

Kindest
Christian

I could get the described behavior on the virtual machine, regarding the “ID already in use”. I will fix it and let you know.

Thanks for using the tool. Let me know if you have any other issues.

Kindest
Christian

Any hint on how to convert the imported (citygml) geometry into meshes or breps? The imported geometry are blocks which are annoying to handle. I was also wondering how to make use of the “geometry” output of the “getdataset” component?

Hey Paul,

well we decided to use blocks to have each building in one geometry object. Welding the meshes was not robust and too slow. You might need to write your own script to unblock, weld or whatever you want to do.

The geometry output is just our own data type, but it stores the original data type Rhino/Grasshopper is using - so you should be able to cast it, when you know what it is - just place a native geometry component after the GetDataset component and you should get native grasshopper geometry. Please let me know if you have any issues. We can debug on our end and see what we can improve.

Kindest
Christian+Joel

1 Like

Hey Christian+Joel, I´ve written my own importer :slight_smile: Thanks!

hello,this plug-ins is great,but i could not install antfarm.this pictu
1
re is the issue i get

Hi -

Please run the Rhino ‘SystemInfo’ command and copy-paste the result here.
-wim

Rhino 7 SR1 2020-10-25 (Rhino 7, 7.1.20299.23101, Git hash:master @ 8d9ce31398d29589acec390d2167dc68806d5b79)
License type: Commercia, 版本2020-10-25
License details: Stand-Alone

Windows 10.0 SR0.0 or greater (Physical RAM: 16Gb)

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 6-8-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 536.23

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: Height

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 6-8-2023
Driver Version: 31.0.15.3623
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\Lumion LiveSync for Rhino (839d6175-32d1-4ffe-a0a4-b7fb43cf0ff5)\2021.3.25.899\Lumion\Rhino 7.0\LumionPlugin.rhp “Lumion LiveSync for Rhino”
C:\Users\Admin\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\AntFarm\0.0.36-beta\AntFarm.rhp “AntFarm” 0.0.36.0

Rhino plugins that ship with Rhino
D:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.1.20299.23101
D:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp “WebBrowser”
D:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
D:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
D:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp “IdleProcessor”
D:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.1.20299.23101
D:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.1.20299.23101
D:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
D:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
D:\Program Files\Rhino 7\Plug-ins\Alerter.rhp “Alerter”
D:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.1.20299.23101
D:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.1.20299.23101
D:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
D:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

Rhino 7 SR5 2021-3-23 (Rhino 7, 7.5.21082.11001, Git hash:master @ 944c103dcfd368bc1974c8866461f0c7bf5ae9d3)
License type: Education, 版本2021-03-23
License details: Stand-Alone

Windows 10.0.22621 SR0.0 or greater (Physical RAM: 16Gb)

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3060 Laptop GPU (NVidia) Memory: 6GB, Driver date: 12-21-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 527.99
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-21-2022
Driver Version: 31.0.15.2799
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino
C:\Users\17342\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\AntFarmIO\0.0.36-beta\AntFarmIO.rhp “AntFarmIO” 0.0.36.0

Rhino plugins that ship with Rhino
E:\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.5.21082.11001
E:\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
E:\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.5.21082.11001
E:\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.5.21082.11001
E:\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
E:\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
E:\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.5.21082.11001
E:\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.5.21082.11001
E:\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
E:\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

The current version of Rhino 7 is SR32. I guess that AntFarm requires a more recent version than what you are running.
-wim

sorry,i don’t understand.may be your answer is i could find it in package management, but it can’t run?.just like, i might take early version.oh, it’s importtant ,i could find it in V7.0, but it dodn’t work.now,whatever version i download, i just could not find it in package management(ps. v7.25/v7.29/v7.5/v7.9).

ps.the issue i take just like pic2

Hello, I would like to ask how to import GML model directly into Rhino through Antfarm, after clicking on Antfarm/Import/GML, the Rhino command toolbar appears “Import GML ( Multiple(M)=No):”, at this time, what should I enter after the “:” to import?

I’ve already downloaded the GML files for many of the cities.

try FZK-Viewer instead:

I think I know how to view gml models, but I’m wondering if GML models can be imported into rhino, and how exactly do I do that by using Antfarm?