• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 2 3 4 5 … 11 Next »
OpenJSCAD plugin - exporter

 
  • 0 Vote(s) - 0 Average
OpenJSCAD plugin - exporter

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#5
12-13-2019, 05:10 PM (This post was last modified: 12-14-2019, 10:28 PM by micheus.)
Thanks for the files.

When I looked at the docs I was not sure about what we would need to export the objects, so I used the simple option. Smile

By looking into .jscad file it looks like something is missing once the main function statement is absent:

PHP Code:
function main() {
    return <
something>
} 


(12-13-2019, 01:40 PM)gilboonet Wrote: On the .jscad file, what I take from the materials is for each face the group where he belongs, and it is on the member called 'groups'. This information can be replaced by face color.
In this case, the .jscad file you send has a function which returns:
PHP Code:
return {faces:faces, vertices:vertices, groups:groups, faceCsg:faceCsg, csg:csg}; 
But, this seems to not be a valid object definition returned - at least using the https://openjscad.org/

So, maybe the site is limited or do your create a custom .jscad file for other application?
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
OpenJSCAD plugin - exporter - by micheus - 11-25-2019, 11:39 PM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-03-2019, 05:23 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-12-2019, 05:13 PM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-13-2019, 01:40 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-13-2019, 05:10 PM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-14-2019, 11:46 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-15-2019, 12:05 AM
RE: OpenJSCAD plugin - exporter - by micheus - 12-15-2019, 10:15 AM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-15-2019, 10:24 AM
RE: OpenJSCAD plugin - exporter - by micheus - 12-15-2019, 10:39 AM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-15-2019, 10:54 AM
RE: OpenJSCAD plugin - exporter - by micheus - 12-17-2019, 09:33 PM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-17-2019, 10:01 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-18-2019, 09:16 AM
RE: OpenJSCAD plugin - exporter - by gilboonet - 12-18-2019, 02:41 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-18-2019, 03:29 PM
RE: OpenJSCAD plugin - exporter - by micheus - 12-18-2019, 05:03 PM
RE: OpenJSCAD plugin - exporter - by micheus - 02-25-2020, 05:46 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode