Jump to content

backbone

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by backbone

  1. Hello all! thank you @ahoeben and @hudejo for your instructions! I am trying to build a new plugin for Cura and want to debug it as well. My computer is running on windows 10 - 64 bit. So from both of your posts - here is what i did in order to make it run from source for me, i hope that my summary can help others like you helped me. thanks again :) Install python 3.5.4 - 64 bit (not 32!) Have cura 4.3 installation from website (used to retrieve some files later) -- from @ahoeben post: Create a project folder called “curaProject” Download projects cura, uranium and libCharon into the project folder so they are next to each other (I used versions 4.3 \ 4.3.0) From ultimaker github Additional files from Cura installation: create “bin” folder in “curaProject” folder. From the Cura installation folder, take the files just like ahoeben wrote (CuraEngine.exe, Arcus.pyd, Savitar.pyd, libgcc_s_seh-1.dll, libgomp-1.dll, libifcoremd.dll, libimalloc.dll, libiomp5md.dll, libmmd.dll, libstdc++-6.dll, libwinpthread-1.dll) And copy them to “bin” folder Add to windows PYTHONPATH the paths to uranium, libCharon and bin folder Install additional python packages - Python -m pip install numpy scipy colorlog zeroconf trimesh netifaces pyserial PyQt5==5.10 requests *** this is a combination from your posts + cura running on windows page - link Install Shapely package - Download Shapely‑1.6.4.post2‑cp35‑cp35m‑win_amd64.whl from here - link (https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely) - this is for 64 bit Install - python -m pip install [path to file] That’s it, good to go. Now you can run cura_app.py from the cura project
  2. Thanks! Unfortunately, I will not be the one to create the files for print, or neither will i be able to control them. thats why i am trying to go around and try the x-Fields.
  3. Hello all, I am trying to send a file to UM3 using cluster-api/print_jobs cluster-api/v1/print_jobs/ In this API, there is an optional input field called x-Fields. I assume i can use it in order to send info about the printing job file, like limitations for material or extruder type, temperature range and others.. is this correct? how can i use it? in case that x-Fields is not the right way, is there some other way to do it? in general i see that x-Fields is optional for other APIs as well, where do i get more detailed documentation about using x-Fileds in these various APIs? it seems that gcode slicing files that were saved from cura, can include such info on them. but i need to find a way to control other files as well (not created from Cura), so i need some way to pass those options to the printer
  4. Hi there! I am also having trouble with sending a .gcode file to printjob API. i am using postman and have all other APIs working fine, including some that require the digest auth. I specify "file" and "jobname" as required. for "file" i use the file type and i select my file from the little file selector window. It's only when trying to send to print, I always get the response ""No file received". P.s - when i try the same call with same file and credentials via the "api documentation" ([IP]/docs/api/) in the chrome browser, it works fine and i can print. can anyone assist please? thanks!
×
×
  • Create New...