Everything related to Maxwell Render and general stuff that doesn't fit in other categories.
By atdesign
#263652
valerio wrote:Paste the following text in the terminal, but does not work!


/Applications/Maxwell/64 Bits Technology Preview/mxcl64 -mxs:/Users/valerio/Documents/benchwell_scene_07.03.08_mac/sculpture.mxs -th:0 -d -o:/Users/valerio/Documents/benchwell_scene_07.03.08_mac/sculpture64bit.tif
I got it to work. Change the folder name 64 Bits Technology Preview to 64_Bits_Technology_Preview. Do that in the command line also.
User avatar
By valerio
#263905
:D :D :D :D
Image
By medmonds
#287795
So I just tried to get the 64bit preview to work using Terminal, but for some reason its not working. I always get an error that says "No such file or directory." I've tested the syntax a few different ways, but it still wont work. A few questions:

1 When I launch terminal, I appear to be in the root directory of my login, but at the root of the computer. Do I have to move up one level before trying to run mxcl?

2 As someone else mentioned, I renamed the folder (using the finder) to replace the spaces between the folder name with underscore marks (_). Is this right?

3 The text I then entered at the command line looks like this:
/Applications/Maxwell/64_Bit_Technology_Preview/mxcl -mxs:/Users/medmonds/Downloads/benchwell_scene_07.03.08_mac/sculpture.mxs -th -d -o:/Users/medmonds/Desktop/test.tga Does this look legit?

4 My 64bit preview app is called mxcl, NOT mxcl64 as others have indicated in similar posts... does this matter?

5 If I drag the mxcl application into terminal to automatically generate the path text, it ends with mxcl.app Should I use the extension or not?
By msantana
#287810
Matt, no need to do all that renaming, you can call any app if you write the correct directory structure, even if it has spaces.

First a couple of corrections:

1) You CANNOT launch the mxcl app that you see in the finder through the command line. The reason for this is that the command line (terminal) works with a streamlined version of the app. So if you type the path and the app you see in the finder, you will not be able to launch it, and will get the message you are getting.

2) If you have paths (folder & directory structures) with spaces you can use them normally, but you have to put everything in quotations.

Hence, if you didn't change the names of any folders and/or apps from Maxwell, you can launch the 64-bit preview with the exact command below. remember to INCLUDE the quotations, also the code will work no matter in which directory you are:
Code: Select all
"/Applications/Maxwell/64 Bits Technology Preview /mxcl.app/Contents/MacOS/mxcl"
Have fun!
By medmonds
#287868
Mauricio,
Thanks a million! That was the clearest explanation I've found to date.
(rendering in progress)
By msantana
#288116
medmonds wrote:Mauricio,
Thanks a million! That was the clearest explanation I've found to date.
(rendering in progress)
Don't mention it, we are all here to learn. :D
By cgbeige
#288378
For those who don't want to have to type out the path and variables repeatedly, download On My Command (it's a free contextual menu utility): http://www.abracode.com/free/cmworkshop/OMC.zip and then open the OMCEdit program and import this script command: http://www.3eige.com/ars/maxwell_render_omc.zip. Unzip it. This lets you right click on an mxs file and then render it with popup input for how many SL you want. It opens the terminal and takes care of the rest. Don't worry about the script - it's all very clear what it does and there's nothing potentially dangerous in it. It just takes your clicked file and uses the name as some variables:
Code: Select all
/Applications/Maxwell/64\ Bits\ Technology\ Preview\ /mxcl.app/Contents/MacOS/mxcl -d -mxs:__OBJ_PATH__ -th:0 -t:1000 -s:__DLG_INPUT_TEXT__ -o:__OBJ_PARENT_PATH__/__OBJ_NAME_NO_EXTENSION__.tif -mxi:__OBJ_PARENT_PATH__/__OBJ_NAME_NO_EXTENSION__.mxi
You can edit the text to make the file format whatever you want or change the output path if you want. Anyway, OMC is amazing and I use it all the time for other cl renders with Realflow or Maya.

Hello everybody, We have just released a new vers[…]

Help with swimming pool water

Nothing beats observing the real world or, if that[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]