Git Product home page Git Product logo

Comments (7)

chennes avatar chennes commented on June 2, 2024

See Taack/taack-plm-freecad#1

from freecad-addons.

Taack avatar Taack commented on June 2, 2024

@chennes I just merged the pull request. Thanks.

from freecad-addons.

Taack avatar Taack commented on June 2, 2024

@chennes if you want to test this workbench, I updated the instructions in the website. Steps to get it up and running are described there https://forum.freecad.org/viewtopic.php?p=659957#p659957.

Regards

from freecad-addons.

Taack avatar Taack commented on June 2, 2024

I cannot fork the FreeCAD master ATM, I get a "This repository is temporarily unavailable." error...

I think I made something wrong when trying to create the pull request...

from freecad-addons.

chennes avatar chennes commented on June 2, 2024

Sorry for the bad instructions, they are out-of-date. You do not need to have your icon added to the main repository, that instruction is obsolete. I have updated it in the template.

from freecad-addons.

Taack avatar Taack commented on June 2, 2024

@chennes I updated the Workbench. It should not move starting from release https://github.com/Taack/taack-plm-freecad/releases/tag/v20.2.2.

I also added to the release files the server binary. You can launch it on Mac/RPi or your workstation using java 17. But FreeCAD appimage must be present in your home folder and be set executable.

$ ls ~/FreeCAD_0.20.2-2022-12-27-conda-Linux-x86_64-py310.AppImage
FreeCAD_0.20.2-2022-12-27-conda-Linux-x86_64-py310.AppImage

In order to launch the server, just type:

java -jar server-0.2.jar

The database is in the ./prodDb.mv.db file, the uploaded files will be stored under ~/intranetFiles by default. I never tested this binary under Windows, but it should work modulo model rendering. On Mac it should work as expected (modulo the dot executable path used to represent graphs).

You can modify default settings:

  • Path the Intranet store its files: java -Dintranet.root=/home/test/someDir -jar server-0.2.jar
  • Server port: java -Dserver.port=9444 -jar server-0.2.jar
  • Database url: java -DdataSource.url='jdbc:h2:./prodDb2;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE' -jar server-0.2.jar
  • Freecad appimage path:java -Dplm.freecadPath=/somePath... -jar server-0.2.jar
  • Dot exe path: java -Dexe.dot.path=/somePath... -jar server-0.2.jar

You can combine those options. Will do some doc one day about them (see https://github.com/Taack/intranet/blob/main/server/grails-app/conf/application.yml for an exhaustive list).

It is OK for you to include the link in FreeCAD-addons ?

Regards

from freecad-addons.

Taack avatar Taack commented on June 2, 2024

Just do a pull request..
#253

from freecad-addons.

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.