I'm looking for a way to convert the native output (parametric CAD?) of OpenJSCAD (jscad / js file) i.e.
function model() {
return polyhedron({points:[
[41.4780, -44.9832, 0.0000],
[41.8432, -43.0168, 0.0000],
[41.4780, -44.9832, 1.0579],
[41.8432,…
I'm trying regularly to join the different points to draw the straight line in OpenScad. But I could'nt able to find any way to draw the line. But I can able to draw the definite shapes like cubes,spheres,cylinders,etc... So please help me by…
In openSCAD there is a command to project a 3D model to a 2D surface.
I can't find anything about this command in the JSCAD Documentation.
Is there a way to do the same in openJSCAD.
I am trying to draw on an image that I have. 2D
the image is of a laptop and I want to draw lines around it to get measurements. I am very new to openjscad and am stuck on this very first step. Any help would be appreciated
I would like to load multiple files with OpenJSCAD.
I tried 1 without any success.
I'm using OpenJSCAD with Firefox on Ubuntu 18.04. I tried both the offline and online versions.
is it possible to pass a value from openjscad to javascript?
I would like to show the dimensions of a 3d-object in a div or any other html-element.
Example:
A cube is created with openjscad with the following parameters:
function main() {
var…
I want to load a .jscad file into a vue component.
I have set up an vue-cli project, installed this openjscad-vue viewer using npm and am using the openjscad component. This component has the prop design which should allow specifying a path to a…
I need support in finishing some javascript code that finally should generate a 3D model. However I'm struggling as I keep getting errors. Kindly find the code
The code is supposed to create a 3D file similar to the images found in the link below:…
I am a novice programmer working with OpenJScad written in Javascript to build 3D models.
I am trying to figure out how to structure my code so that I can access an object's instance properties that are dynamically created with user input…
I'm looking for a javascript library that does 2D computer aided design. Main features I'm looking for are:
Generalized parametric curves
Finding the closest points on 2 non-intersecting curves
Intersections of 2 curves.
Possible to create…
I want to build very simple 3D Model of Single Room based on user inputs. User will provide inputs like what will be size of wall , no of rooms , how many doors should be there etc.
Based on input programme should generate 3D model image that will…
I am using https://openjscad.org/
I have two-fold question about javascript vector rotate:
vec=vec.rotateX(angle0);
vec=vec.rotateY(angle1);
vec=vec.rotateZ(angle2);
1) Does javascript rotates vectors in degrees or radians?
2) How these 3 lines…
I need support in editing a script that generates a 3D model. However I'm struggling as I keep getting errors.
function handleImage(e) {
var reader = new FileReader();
reader.onload = function(event) {
var img = new Image();
…