Sno Station
Sno Station is your agents' workstation: open-source software that turns the AI agents you already run into one squad on your own machine. Two heads are better than one, and they get better with every
Tools for creating QR codes as vector geometry in Rhino
Translation pending
PluginsF#GitHub @goswinrOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Rhino.Scripting.QrCode is a small library for creating QR codes as Rhino3D Meshes or Hatches. It uses ZXing.Net to encode the text. The QR code is vector geometry, not an image, so it stays sharp at any size.
It works in Rhino 8 and later, from F#, C# and IronPython.
The QR code is created at the World Origin with a size of 1.0 x 1.0 units, using the high error correction level (30%). Text with non-ASCII characters is encoded as UTF-8.
For example in the Fesh.Rhino scripting editor:
#r "nuget: Rhino.Scripting.QrCode"
open Rhino
open Rhino.Geometry
open Rhino.Scripting
let doc = RhinoDoc.ActiveDoc
// as a Mesh, scaled to 50 units
let mesh = QrCode.asMesh "https://www.rhino3d.com"
mesh.Transform(Transform.Scale(Point3d.Origin, 50.0)) |> ignore
doc.Objects.AddMesh(mesh) |> ignore
// as Hatches, using the 'Solid' hatch pattern of the active document
for hatch in QrCode.asHatches "https://www.rhino3d.com" do
doc.Objects.AddHatch(hatch) |> ignore
doc.Views.Redraw()
For example in the Rhino 8 script editor:
#r "nuget: Rhino.Scripting.QrCode"
using Rhino;
using Rhino.Scripting;
var mesh = QrCode.asMesh("https://www.rhino3d.com");
RhinoDoc.ActiveDoc.Objects.AddMesh(mesh);
RhinoDoc.ActiveDoc.Views.Redraw();
Get the files Rhino.Scripting.QrCode.dll, zxing.dll and FSharp.Core.dll into one folder.
Run dotnet build on this repository, then they are all in bin/Release/net48.
If you download dll files instead, you might need to unblock them first:
Reference the dll in IronPython:
import clr
clr.AddReferenceToFileAndPath(r"C:\path\to\bin\Release\net48\Rhino.Scripting.QrCode.dll")
import Rhino
from Rhino.Scripting import QrCode
mesh = QrCode.asMesh("https://www.rhino3d.com")
Rhino.RhinoDoc.ActiveDoc.Objects.AddMesh(mesh)
Rhino.RhinoDoc.ActiveDoc.Views.Redraw()
goswinr.github.io/Rhino.Scripting.QrCode
There are other QR code tools for Rhino that create images instead of geometry, see discourse.mcneel.com.
Contributions are welcome even for small things like typos. If you have problems with this library please submit an issue.
see CHANGELOG.md