Giter Club home page Giter Club logo

Comments (9)

kaosat-dev avatar kaosat-dev commented on August 15, 2024

Hi again @delaneyj !
Cool project ! :)
Normally I have not touched the way designs are processed , do you see anything in the console (you can switch it on with the same keyboard shortcut as in chrome)

from jscad-desktop.

kaosat-dev avatar kaosat-dev commented on August 15, 2024

I will take your project for a spin after work to see if there is anything obvious that I can find

from jscad-desktop.

delaneyj avatar delaneyj commented on August 15, 2024

Yeah I've been extensively using the debugger. If you change the package.json to ./components/corexy.js you can see it working, remove from corexy from main.js and it works as well. But the combo together doesn't work nor gives any errors.

from jscad-desktop.

delaneyj avatar delaneyj commented on August 15, 2024

I updated my example now corexy fails at well. Interestingly I have a debugger call right at the beginning that doesn't get hit (or I'm missing because dev tools isn't the default and may miss the window). Can't tell if its a jsdesktop or core openjscad issue. I also tried changing the default resolution with no effect.

from jscad-desktop.

kaosat-dev avatar kaosat-dev commented on August 15, 2024

Hi again @delaneyj !
Sorry for the long delay, was sick for a while.
So , please checkout the latests version, there are lots of fixes and improvements !

  • background processing of solids being the major one, so no more app crash if something goes wrong
  • parameter /state handling should be a bit better (but not all bugs are solved in there)
    I dug through your design and found the issue :
  • motorBackOutsideBelt is defined with a cube that has one dimensions of size 0
  • for now there are no errors thrown for a lot of invalid parameters in jscad/csg but that will change soonish, I hate it :D

from jscad-desktop.

kaosat-dev avatar kaosat-dev commented on August 15, 2024

screen shot 2018-01-31 at 13 27 38

from jscad-desktop.

kaosat-dev avatar kaosat-dev commented on August 15, 2024

There is still something breaking when specifying those dimensions in main() for coreXY btw, it has me stumped : I narrowed it down to let belt = union() failing silently ?

from jscad-desktop.

kaosat-dev avatar kaosat-dev commented on August 15, 2024

@delaneyj sorry but found the solution : pass the inputs to union as an array

belt = union([
    rightYBelt,
    leftYBelt,

    motorInsideBelt,
    motorOutsideBelt,
    motorBackOutsideBelt
  ])

and its MUCH faster than without it :

from jscad-desktop.

delaneyj avatar delaneyj commented on August 15, 2024

Way better! I had it working enough to make more changes, but back to weird state. Wish a knew more to know how to debug this. pull my project to see changes.

from jscad-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.