A Grasshopper plugin for modelling conics and mathematical curves accurately from equations.
If you are only interested in using the plugin, follow the Run instructions.
Run the sample files once loaded located in the samples folder.s
- Install the plugin from the Yak Package Manager
- Download the latest version from food4Rhino.
- Copy all unzipped contents into your component library, usually C:\Users\($user)\AppData\Roaming\Grasshopper\Libraries
- Unblock all files
- Navigate to Releases
- Download and unzip the latest Release, e.g. the_dominion_x.x.x.x.zip.
- copy all unzipped contents into your component library, usually C:\Users\($user)\AppData\Roaming\Grasshopper\Libraries
- Unblock all files
If you want to build the application from source code on your local machine, follow the steps below:
- Clone the repository.
- Restore the NuGet packages in Visual Studio.
- Build the Application.
- Open Rhino.
- Run
_GrasshopperDeveloperSettings
from the Rhino Command Line. - Add a Folder in the developer settings window, and point the explorer to the 'bin' folder of 'the_Dominion' clone on your local machine, e.g. C:\Users\($user)\source\repos\bulgos\the_Dominion\src\bin
- Run
_Grasshopper
from the Rhino Command Line and navigate to the 'Dominion' tab.
Build Yak packages with Rhino 7
1. Set Visual Studio Build Configuration to Release.
2. Build Application (this will populate the \dist directory when building Release Configuration).
3. Open command prompt and point at root of the repository.
4. Navigate into distribution directory cd \the_Dominion\dist
5. Spec the manifest .yml file "C:\Program Files\Rhino 7\System\Yak.exe" spec
6. Update the manifest manually if necessary.
7. Build the package (currently windows only) "C:\Program Files\Rhino 7\System\Yak.exe" build --platform win
- Build the Application with the steps described above in Build.
- The Release configuration automatically specs a manifest file and builds the application (if the yak package manager/Rhino 7 is installed)
- If manual edit of manifest file not required, skip to 7.
- Update the manifest manually if necessary.
- Build the package (currently windows only)
"C:\Program Files\Rhino 7\System\Yak.exe" build --platform win
- Login to Mcneel account
"C:\Program Files\Rhino 7\System\Yak.exe" login
- Push package to server
"C:\Program Files\Rhino 7\System\Yak.exe" push the-dominion-x.x.x-any-win.yak
- Check package has been successfully pushed
"C:\Program Files\Rhino 7\System\Yak.exe" search --all --prerelease the-dominion
-
Push package to test server
"C:\Program Files\Rhino 7\System\Yak.exe" push --source https://test.yak.rhino3d.com the-dominion-x.x.x-any-win.yak
-
Check package has been successfully pushed
"C:\Program Files\Rhino 7\System\Yak.exe" search --source https://test.yak.rhino3d.com --all --prerelease the-dominion
-
Upload the_dominion.XX.tar archives to food4Rhino.
Yak Command Line Tool Reference
- Daniel Christev
- Michael Wickerson
MIT License. Copyright 2021 Daniel Christev, Michael Wickerson.
See LICENSE for details.
Conic Linear Programming
Rotation of axes
Wikipedia Conics
Conics and their Duals
AV Akopyan's Geometry of Conics
opennurbs
SCS (fast conic optimizer)
Conic Solver by HackerPoet
Plotting Conics for use in conjunction with below link:
matplotlib online python