Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable - DO NOT USE #1045

Open
inventinside opened this issue Nov 17, 2021 · 10 comments
Open

Unstable - DO NOT USE #1045

inventinside opened this issue Nov 17, 2021 · 10 comments

Comments

@inventinside
Copy link

inventinside commented Nov 17, 2021

Good afternoon JSxCAD team,

I would like to enquire information about the status of this library, I am currently using an old JScad V1 as my geometric solver for (InventInside.(dot).com) personal project, I have observed the development thoughout the past few years, your team have achieved great leaps ahead of what the original fork was based upon, and in many cases ;to my knowlage; was one of the first to demonstrate web assembly compilation of some very sophisticated low-level 3d geometry libraries. Very impressive work indeed!

PS:
Recently; I Created some NFT'(Non-Fungible Tokens) using the tool, if you "like" them I will send you a copy of the object for free!
{
inventinside.(dot).com/item/pureGold3d
}

Cheers!

@pentacular
Copy link
Member

Hello, sorry for the late reply -- I missed the notification on the issue.

Things are volatile, so we're discouraging casual use to avoid disappointment. :)

Let me know if you're still interested, and we can sort out a more interactive forum to deal with the expected confusion.

@inventinside
Copy link
Author

Good afternoon, I will await until the library is restructured before I go any further. Good luck to you and your team. I look forward to see what kind of goodies it holds inside.

@hrgdavor
Copy link

Hi, just checking in to see how it is comming along.

I am seing big commits and looks like a loto of progress is made.

A sidenote ... link https://groups.google.com/forum/#!forum/jsxcad to user group in the main README is not working.

@pentacular
Copy link
Member

I think that things are converging nicely -- getting local frames of reference set up should hopefully have been the last big thing.

The general focus now is to add notebooks to document the user level API, while cleaning up and making things consistent.

Once that's done, and the UI has been cleaned up a bit more, it may be ready for broader use.

@hrgdavor
Copy link

hrgdavor commented Sep 2, 2022

cool.

I am working on a second iteration of my interactive tutorial runner

old prototype: https://3d.hrg.hr/jscad/three/loop/loop.html#1 that reads content from md file https://3d.hrg.hr/jscad/three/loop/loop.md
it is setup to eval code on change, but tht could be tweaked to be done on demand(button/shortcut key)
it uses codemirror as the editor

I have another iteration in progress that is intended to be reusable ... the one above was a quick prototype
https://hrgdavor.github.io/jsx6/demistify/ that reads this md file https://hrgdavor.github.io/jsx6/demistify/demistify.jsx.md
This new one uses Monaco editor. The linked tutorial is specific in the fact that it needs 2 editors to show how jsx
is transformed in the second editor.
it uses additional js data in md to configure which code block is executed and other special needs and the format
is from another related project https://github.com/hrgdavor/multilingual-markdown/

Hope you do not mind me advertising my projects. I hope you or others would find it useful.

@pentacular
Copy link
Member

You have

const { primitives, transforms, utils } = require('@jscad/modeling')//#EXAMPLE
const { cylinder } = primitives
const { translate } = transforms
const { loop } = utils

function main(){//#1
	let part = cylinder({radius:3, height:3})//#READ
	return loop(3,i=>translate([i*20,0,0], part))//#READ
}

module.exports = {main}

Here are two ways we do the same thing :)

Arc(1.5, 1.5, 3).seq({ upto: 60, by: 20 }, x, Group).view();

and

Arc(1.5, 1.5, 3)
  .x(seq({ upto: 60, by: 20 }))
  .view();

@hrgdavor
Copy link

hrgdavor commented Sep 2, 2022

Cool. It is nice to see other ways to do some common modeling tasks.

Reason for my linking the loop page was not about the loop function, it was to demonstrate variants of interactive tutorial/notebook I am working on. That one is older prototype, and new one that talks about JSX is the version currently in development.

I am looking to splitting monaco editor part of it into separate library that is pre-built monaco editor.
One that can be included with few lines of code without bothering with setting up all kinds of build steps.

@pentacular
Copy link
Member

Hmm, I think I haven't quite understood what you're trying to show. :)

How about opening a discussion?

@hrgdavor
Copy link

hrgdavor commented Sep 2, 2022

image

there is no discussions tab

I wanted you to look at 2 instances of my attempets at making interctive tutorial that use markdown file as source for the content,

I am wondering if you would be interested in using that for your documentation notebooks.
Or you may find parts of my code useful as I plan to separate useful parts for easier reuse (runner, code editor).

  1. my first prototype of interactive tutorial engine is here:
    https://3d.hrg.hr/jscad/three/loop/loop.html#1
    and source for the content is read from this md file is here
    https://3d.hrg.hr/jscad/three/loop/loop.md

  2. latest version of my interactive tutorial engine is here where I made a toturial about JSX
    https://hrgdavor.github.io/jsx6/demistify/
    and source for the content is read from this md file is here
    https://hrgdavor.github.io/jsx6/demistify/demistify.jsx.md

... this effort with interactive tutorials is outside of jscad (as you may consider jscad a competitor :))

@pentacular
Copy link
Member

Looks like I needed to enable it -- thanks for letting me know. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants