unit VS gcodepreview

Compare unit vs gcodepreview and see what are their differences.

gcodepreview

OpenSCAD library for moving a tool in lines and arcs so as to model how a part would be cut using G-Code. (by WillAdams)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
unit gcodepreview
12 26
2,563 11
- -
9.7 7.8
6 days ago 10 days ago
TypeScript OpenSCAD
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

unit

Posts with mentions or reviews of unit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-29.
  • Unit – Next Generation Visual Programming System
    1 project | news.ycombinator.com | 20 Dec 2023
  • Visual Node Graph with ImGui
    18 projects | news.ycombinator.com | 29 Sep 2023
    https://github.com/samuelmtimbo/unit recently, which at least uses some kind of hinted auto-layout (besides the more propriety fancy)

    I really want to see more graphical coding for years, but node/graph-based and blockly seem to be the only approaches that got sone traction so far. So I like this thread and it seems at the right place.

    I'd wish to see

  • Next Generation Visual Programming System
    1 project | news.ycombinator.com | 17 Aug 2023
  • Unit (Visual Programming System) [video]
    2 projects | news.ycombinator.com | 17 Aug 2023
    Interesting, and clearly a lot of work's gone into this (60,000 lines of Typescript), particularly the UI, which is impressive (if, sometimes, over the top). I've been developing a similar system (http://www.fmjlang.co.uk/fmj/tutorials/TOC.html) and it's interesting to note the similarities and differences.

    Similarities: code as directed graphs (less obvious in FMJ); can only connect outputs to units of compatible type; if and wait (looping is handled differently); sticky values; sliders. These design decisions are practically forced on you, but are often absent in earlier visual dataflow languages (e.g. Prograph, LabVIEW).

    Differences: (1) inputs are named in Unit, ordered in FMJ (though they're named in formulas and edges can be labelled). (2) I experimented with automatic code layout but found this was too slow and not always what I wanted. Well done for getting this to work. (3) FMJ is now fully homoiconic - this maybe isn't a priority for Unit.

    The Unit design philosophy is explained in https://github.com/samuelmtimbo/unit/blob/main/src/docs/conc... . This doesn't mention earlier approaches (e.g. the Manchester Dataflow Computer, Prograph) and it seems to be based on vaguely similar ideas developed more recently (Morrison's Flow Based programming; possibly React and similar systems for web development - I'm unfamiliar with these).

    I have a number of questions:

    (1) How does the type system work? Is it Dependently typed, Hindley-Milner, or something more basic? (FMJ is Hindley-Milner, with dependent typing partially implemented). How are new types be defined?

    (2) How is the visual representation stored? One criticism I faced was that people wanted a readable textual representation which would work well with existing version control systems, a problem I have now largely solved.

    (3) How are runtime errors handled?

    (4) Is recursion supported? (I assume yes, but I didn't see any examples.) What about macros?

    (5) What does Unit compile to? (FMJ has an experimental compiler where programs are compiled by running their source without evaluating their inputs, output is Lisp.)

  • Unit.land
    1 project | news.ycombinator.com | 9 Jun 2023
  • A personal history of visual programming environments (2021)
    4 projects | news.ycombinator.com | 22 Dec 2022
    I enjoyed reading this. I knew of quartz composer but I never did anything with it.

    I love visual tools and I think they are underutilized today. I cut my teeth in ~2005 with Houdini[0] and Fusion[1] which are both heavily graph / node based (and procedural).

    Most recently I have been rekindling my love for visual programming and flow based programming and plan to spend some time in January and February doing more research around flow based programming for infrastructure management.

    I plan to get this sort of info published on my website which I have neglected for half a decade or more but if you are interested in visual programming you might enjoy checking these out:

    Unit from Samuel Timbó:

    https://github.com/samuelmtimbo/unit

    https://ioun.it/

    A video of me exploring what I figured out about it (while also learning to stream) https://www.youtube.com/watch?v=vwknTfGVDq8

    Behave-Graph from Ben Houston:

    https://github.com/bhouston/behave-graph

    And the products I learned so long ago

    [0] Houdini https://www.sidefx.com/products/houdini/

    [1] Fusion https://www.blackmagicdesign.com/products/fusion

  • Ask HN: More “experimental“ UIs for editing/writing code?
    14 projects | news.ycombinator.com | 6 Aug 2022
    https://github.com/samuelmtimbo/unit

    - A code drawn in unit is simply a Directed Graph.

    - Programming can be partially performed by Gesture and by Voice.

  • Unit: Next Generation Visual Programming Platform
    1 project | news.ycombinator.com | 6 Aug 2022
    1 project | news.ycombinator.com | 18 Jan 2022
    1 project | news.ycombinator.com | 19 Dec 2021

gcodepreview

Posts with mentions or reviews of gcodepreview. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-14.
  • Digital Wood Joints
    1 project | news.ycombinator.com | 25 Apr 2024
    I've been working on this sort of thing for a while.

    For a Japanese spin on this see Tsugite:

    http://ma-la.com/Tsugite_UIST20.pdf

    which I worked through at:

    https://community.carbide3d.com/t/a-study-of-joinery/28492

    Traditional joints (box, dovetails, or obscure variations such as Knapp (cove and pin)) require a vertical fixture and 3 setups (at a minimum) --- cut parts to length and machine internal features, mount four board and cut joints in 2 corners, flip boards (with correct orientation) and cut other two corners.

    Rabbet joints are simpler --- so simple that they were covered in a video as "The Simple Box":

    https://www.youtube.com/watch?v=V93xDM3lXsM

    (ob. discl., I work for Carbide 3D)

    There have been a number of programs developed for joinery. A current commercial option is:

    http://www.g-forcecnc.com/jointcam.html

    (but it requires a vertical fixture)

    One commercial option became freely available:

    https://fabrikisto.com/tailmaker-software/

    and ingeniously has an option where a 30 degree V endmill is used, but to cut boards held at a 15 degree angle, affording a 90 degree cut with a great deal of control and flexibility --- this can multiply setups to 9.

    A variation I've been experimenting with is full-blind box joints:

    https://community.carbide3d.com/t/full-blind-box-joints-in-c...

    They're reasonably easily drawn up, though they do have some rather specific tooling requirements (a narrow 90 degree V endmill, a square tool of that or smaller diameter, and to make things easier, a large V endmill)

    One test project was so tight that after putting it together for a dry-fit before gluing I was unable to get it apart:

    https://cutrocket.com/p/63781eaf9822f/

    I've been working on a programming system to make this sort of thing a bit easier:

    https://github.com/WillAdams/gcodepreview

    and have some sketched out joints which I've not been able to make using existing CAM tools which I hope I'll be able to do using this system (if anyone could recommend books on conic sections, I'd be grateful --- that's where I got bogged down last time).

  • PicoGK is a compact and robust geometry kernel for Computational Engineering
    10 projects | news.ycombinator.com | 14 Apr 2024
    While I certainly appreciate the virtues of a Domain Specific Language, and that OpenSCAD has been wildly successful because of its limitations, the limitations are downright infuriating at times.

    An interesting potential alternative (which hopefully won't result in a fork) is adding Python:

    https://pythonscad.org/

    which I've had some success with:

    https://github.com/WillAdams/gcodepreview

    ImplicitCAD is interesting --- and the (new?) ability to open files from GitHub is _amazing_ (OpenSCAD recently gained that same facility, _and_ it supports the customizer: https://seasick.github.io/openscad-web-gui/?https://raw.gith... ), but it's a heavy lift given the need to work out how to edit files, preview them, and so forth.

  • Flattening Bézier Curves and Arcs
    2 projects | news.ycombinator.com | 10 Apr 2024
    Do you have a need to?

    Do you have a project which might be able to make use of this? What sort of work do you do?

    I am bookmarking this for re-reading later because I hope it will help me to understand how to implement Bézier curves in a tool I've been working on for controlling a CNC machine/creating files for cutting on a CNC:

    https://github.com/WillAdams/gcodepreview

    (but first I have to get arcs working)

  • OpenSCAD Survey - What should be improved ?
    4 projects | /r/openscad | 6 Dec 2023
  • OpenSCAD Survey - what programming language do you want to be added to app?
    12 projects | /r/openscad | 6 Dec 2023
  • FullControl: Unconstrained gcode design for 3D printers
    3 projects | news.ycombinator.com | 23 Nov 2023
    Interesting.

    I've long been frustrated by traditional CAD/CAM, so finally worked up:

    https://github.com/WillAdams/gcodepreview

    which allows me to use:

    http://pythonscad.org/

    and:

    https://github.com/derkork/openscad-graph-editor

    to create joinery:

    https://forum.makerforums.info/t/openscad-and-python-looking...

    which would otherwise be tedious to draw up:

    https://community.carbide3d.com/t/creating-drawers/19475/26

  • Visual Node Graph with ImGui
    18 projects | news.ycombinator.com | 29 Sep 2023
    The problem here is that a fundamental question has not been answered, and as far as I can tell, has not been addressed by any of these visual environments:

    What does an algorithm look like?

    Herman Hesse alluded to this in his novel _The Glass Bead Game_, but despite decades of discussion and work, no one has made a convincing pysical representation of that system.

    I love the concept, and have made some moderately complex attempts, e.g.,:

    https://www.blockscad3d.com/community/projects/1430644

    https://github.com/WillAdams/gcodepreview

    it always devolves to screen size being out-paced by problem complexity --- one gets something of an inkling of this at:

    https://scriptsofanotherdimension.tumblr.com/

    Alternately, one can just break a project down into modules, but then the top-level view becomes the wall of text representation (albeit w/ nice lines or captured into pretty boxes) which one is ostensibly trying to escape.

    I'd love to see someone succeed in this, and I've been using:

    https://github.com/derkork/openscad-graph-editor

    quite a bit, and put a bit of money towards:

    http://nodezator.com/

  • Suggest for buying a small CNC
    1 project | /r/CNC | 8 Jul 2023
    or perhaps Solvespace --- certainly FreeCAD, and if you're inclined to do programming, OpenSCAD --- see: https://github.com/WillAdams/gcodepreview for an approach which uses RapCAD
  • Buy a used Bobs Evolution 4?
    2 projects | /r/hobbycnc | 2 Apr 2023
  • Script release ETA
    1 project | /r/FullControl | 9 Mar 2023

What are some alternatives?

When comparing unit and gcodepreview you can also consider the following projects:

vue-flow - A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan 🔎, additional components like a Minimap 🗺 and utilities to interact with state and graph.

openscad-graph-editor - OpenSCAD Graph Editor

lisperanto - Lisperanto is a spatial canvas for programming; Lisperanto is a spatial canvas for knowledge; Lisperanto is a spatial canvas for ideas;

manifold - Geometry library for topological robustness

impulse - Impossible Dev Tools for React and Tailwind

RapCAD - Rapid prototyping CAD IDE for RepRap and RepStrap 3D printing machines.

metadesk

Pythonocc-nodes-for-Ryven - Pythonocc nodes for Ryven

newspeak - Newspeak is a live object-capability language in the Smalltalk tradition

jsketcher - Parametric 2D and 3D modeler written in pure javascript

nodezator - A multi-purpose visual node editor for the Python programming language

meshmill - The world's greatest open source 3D CAM software. (Maybe one day.)