Search found 340 matches

 Go to advanced search

Re: getPath() doesn't work on pymaxwell5

 by Brany ¦  Tue Jan 18, 2022 9:02 pm ¦  Forum: Maxwell SDK ¦  Topic: getPath() doesn't work on pymaxwell5 ¦  Replies: 4 ¦  Views: 18956

Those ones are FLAG_ID_OBJECT, FLAG_ID_MATERIAL and FLAG_SHADOW_PASS
You can take a look at the c++ SDK header maxwellenums.h

Re: Remove material from the scene

 by Brany ¦  Tue Jan 18, 2022 9:00 pm ¦  Forum: Maxwell SDK ¦  Topic: Remove material from the scene ¦  Replies: 4 ¦  Views: 3958

Thas functionality is not available, sorry.

Re: Remove material from the scene

 by Brany ¦  Mon Jan 17, 2022 6:36 pm ¦  Forum: Maxwell SDK ¦  Topic: Remove material from the scene ¦  Replies: 4 ¦  Views: 3958

I'm afraid you cannot delete a material from the scene and keep using the material interator. Try to store the materials you want to delete in a list, and then delete each one: scene = Cmaxwell(mwcallback_cb) scene.readMXS(mxsFile) material= CmaxwellMaterialIterator() mat = material.first(scene) mat...

Re: getPath() doesn't work on pymaxwell5

 by Brany ¦  Mon Jan 17, 2022 6:24 pm ¦  Forum: Maxwell SDK ¦  Topic: getPath() doesn't work on pymaxwell5 ¦  Replies: 4 ¦  Views: 18956

Hello Mingfae,

we removed the "string" input parameter for getPath, use the FLAG_RENDER variable instead:

renderPath = scene.getPath(FLAG_RENDER)

Re: TypeError in pymaxwell 5

 by Brany ¦  Fri Sep 10, 2021 1:12 pm ¦  Forum: Maxwell SDK ¦  Topic: TypeError in pymaxwell 5 ¦  Replies: 2 ¦  Views: 13585

I see that not all the C++ methods of the SDK that use mw::String as input/output parameters (or return value) are properly ported to Python. The following methods are problematic: Cmaxwell.getEngineVersionSaved Cmaxwell.setPaths Cmaxwell.getChannelUserSuffix Cmaxwell.getChannelSuffixActive Cmaxwell...

Re: Geometry - UVSets problem

 by Brany ¦  Tue Aug 24, 2021 11:24 am ¦  Forum: Maxwell SDK ¦  Topic: Geometry - UVSets problem ¦  Replies: 5 ¦  Views: 2637

CmaxwellObject.getUVWChannelProperties is meant for procedural geometry objects, which UVs were generated by CmaxwellObject.generateCustomUVW. UV projection parameters used to generate UVs in Studio, in the way you show in the screenshot, are saved as "Maxwell Studio custom data" in the MXS, so they...

Re: Change Grass materials

 by Brany ¦  Wed May 27, 2020 12:22 pm ¦  Forum: Maxwell SDK ¦  Topic: Change Grass materials ¦  Replies: 7 ¦  Views: 5180

Nope :wink:

Re: Read mxs form folder

 by Brany ¦  Thu May 14, 2020 4:01 pm ¦  Forum: Maxwell SDK ¦  Topic: Read mxs form folder ¦  Replies: 2 ¦  Views: 2491

I need help here, can you tell me what line is giving unexpected results?

Re: Render progress

 by Brany ¦  Thu May 14, 2020 3:57 pm ¦  Forum: Maxwell SDK ¦  Topic: Render progress ¦  Replies: 2 ¦  Views: 2637

No, pymaxwell (and the C++ SDK) is just an API to handle MXS/MXM/MXI files. It doesn't connect with maxwell.exe in any way.

Of course you can do your own hacks with python, running maxwell in no-gui mode and parsing the render process command-line output, but you don't need pymaxwell for that.

Re: Change Grass materials

 by Brany ¦  Mon May 11, 2020 5:42 pm ¦  Forum: Maxwell SDK ¦  Topic: Change Grass materials ¦  Replies: 7 ¦  Views: 5180

We are aware of this bug. Found and fixed for the (coming soon) next release :wink:

The problem was that obj.getGeometryModifierExtensionParamsAtIndex (among other methods requesting MXParamlist data) was returning a copy of the data, instead of a reference (the original behaviour).

Re: Pymaxwell and camera resolution

 by Brany ¦  Mon May 04, 2020 11:39 am ¦  Forum: Maxwell SDK ¦  Topic: Pymaxwell and camera resolution ¦  Replies: 3 ¦  Views: 2863

You mean automatically change the width/height internally in the SDK when you change the height/width by code? I am not sure if that is a good idea since most users won't expect that. Those kind of helpers in the UI are meant to make things easy for the user, but I think that bringing that funcional...

Re: Pymaxwell4 : images don't saved

 by Brany ¦  Tue Apr 28, 2020 5:17 pm ¦  Forum: Maxwell SDK ¦  Topic: Pymaxwell4 : images don't saved ¦  Replies: 7 ¦  Views: 3801

That happens when the MXS scene was saved with output image/mxi disabled. You should add the following command line flags to the script to force the image/mxi to be wrote:

parameters.append('-nomxi:off')
parameters.append('-noimage:off')

Re: New Hardware Tests

 by Brany ¦  Mon Mar 02, 2020 3:54 pm ¦  Forum: Maxwell General ¦  Topic: New Hardware Tests ¦  Replies: 75 ¦  Views: 62238

Some screenshots of the upcoming Benchwell v5


Image

Image

As you can see, in ths version we will show the charts in maxwell.exe too. [Note: the data showed is fake].

Re: New Hardware Tests

 by Brany ¦  Thu Jan 16, 2020 8:33 pm ¦  Forum: Maxwell General ¦  Topic: New Hardware Tests ¦  Replies: 75 ¦  Views: 62238

We can give you an ETA of 2 or 3 months. Sorry for the delay, I hope you understand that we need to focus on Maxwell 5 bugfixes and performance now :wink: I can tell you in advance that our plan is to have 2 benchmarks (maybe more in the middle term): one for CPU and one for GPU. We already have the...

Re: Studio Layout not Saving Preferences

 by Brany ¦  Wed Jan 15, 2020 2:58 pm ¦  Forum: Maxwell | Studio ¦  Topic: Studio Layout not Saving Preferences ¦  Replies: 3 ¦  Views: 2127

Hello, you have found a bug here. Studio is not loading the default layout file properly (now its name must be defaultlayout_v5.stlay, by the way). This will be fixed in the next patch :wink: We need to review this, because the layouts in that "layout" folder are not needed anymore, we have them emb...

  • 1
  • 2
  • 3
  • 4
  • 5
  • 23
Sketchup 2024 Released

I would like to add my voice to this annual reques[…]