.. role:: raw-html(raw)
    :format: html

.. |supported| image:: ../../_assets/images/green_circle.png
   
.. |na| image:: ../../_assets/images/grey_circle.png
   
.. |unsupported| image:: ../../_assets/images/red_circle.png
   
.. |partialsupport| image:: ../../_assets/images/gray_green_circle.png

##################
|HPSTHEN| 2022 SP1
##################


Technology Updates
==================

Library Compatibility Information
---------------------------------

.. only:: not spatial

	.. csv-table::
		:header: "Library name", "Version", "Windows", "Linux", "OS X", "Android", "iOS", "Notes"
		
		"HOOPS Exchange", "2022 SP1", |supported|, |supported|, |supported|, |supported|, |supported|, "Android simulator support is limited. See this :ref:`explanation <prog_guide/0906_exchange_integration:Important note for Android developers>`."
		"HOOPS Publish", "2022 SP1", |supported|, |supported|, |unsupported|, |unsupported|, |unsupported|, "Requires SSSE3 instruction set support, Linux support is limited to C++"
		"|HCTHEN| Sprocket", "2022 U1", |supported|, |unsupported|, |unsupported|, |supported|, |supported|, ""
		".NET Framework", "4.0", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "4.5 required when using D3D_IMAGE_CANVAS"
		"Parasolid", "32.0.x", |supported|, |supported|, |supported|, |unsupported|, |supported|, "For iOS platforms, support is limited to 64-bit platforms for the Parasolid Sprockets (hps_sprk_parasolid and hps_sprk_exchange_parasolid)."
		"RealDWG", "2019", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "RealDWG 2019 works with Visual Studio 2017 Update 2 and Visual Studio 2015 Update 3"
		"Qt", "5.12.7", |supported|, |supported|, |supported|, |unsupported|, |unsupported|, ""
		"SketchUp", "2021", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "VS2019 Redistributable required, and only x64 Sketchup is supported"
		
.. only:: spatial

	.. csv-table::
		:header: "Library name", "Version", "Windows", "Linux", "OS X", "Android", "iOS", "Notes"
		
		".NET Framework", "4.0", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "4.5 required when using D3D_IMAGE_CANVAS"
		"Parasolid", "32.0.x", |supported|, |supported|, |supported|, |unsupported|, |supported|, "For iOS platforms, support is limited to 64-bit platforms for the Parasolid Sprockets (hps_sprk_parasolid and hps_sprk_exchange_parasolid)."
		"RealDWG", "2019", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "RealDWG 2019 works with Visual Studio 2017 Update 2 and Visual Studio 2015 Update 3"
		"Qt", "5.12.7", |supported|, |supported|, |supported|, |unsupported|, |unsupported|, ""
		"SketchUp", "2021", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "VS2019 Redistributable required, and only x64 Sketchup is supported"


Features and Enchancements
==========================

**Navigation cube.** Reduced the time required to regenerate the navigation cube by introducing a new function that updates both the material palette and text simultaneously. SetMaterialPaletteAndText regenerates the textures only once based on the material and text.

**Reference triad.** Improved redraw speed of reference triad when anti-aliased triad text is turned off.

.. only:: not spatial

	**IFC Entity support.** Enabled the loading of IFC file types with Relationships and Openings data fields using the appropriate flags in the HPS::ImportOptionsKit. Once the data is loaded, it can be interacted with through the HOOPS Exchange C API. Future development is planned to provide direct access through the HOOPS Exchange Sprocket.
	
	**Assembly constraints.** The HOOPS Exchange Sprocket now supports reading mating conditions from CATIA files, which can be consumed from the Exchange model. Once the data is loaded, it can be interacted with through the HOOPS Exchange C API.
	
.. only:: spatial

	**IFC Entity support.** Enabled the loading of IFC file types with Relationships and Openings data fields using the appropriate flags in the HPS::ImportOptionsKit. 


Functional Changes
==================
	
.. only:: not spatial

	**HOOPS Exchange.** |HPSTHEN| now works with HOOPS Exchange 2022 SP1.

	**HOOPS Publish.** |HPSTHEN| now works with HOOPS Publish 2022 SP1.
	
	**HOOPS Publish.** |HPSTHEN| now works with |HCTHEN| 2022 U1.
	
**Cutting planes.** A small change to cutting plane logic will result in a slightly different color for cutting plane capped geometry in certain situations.
	

Fixed Bugs
==========

.. csv-table::
	:header: "Issue number", "Description"
	
	"19217", "Marker in Origin leads to Crash"
	"19180", "HOOPS Internal Error: Assert failure with |HPSTHEN| (not reproducible with 3DF)"
	"19152", "Change in selection behavior for faces"
	"19097", "Sometimes text is missing when upgrading from 2018 to 2022."
	"19086", "FaceAngle Exchange::MeasurementOperator returns different values"
	"19057", "poor rendering performance with model"
	"11105", "Line space is wrong when insert multiline text to shell"
	"11075", "Geometry loses transparency/Alpha settings when exporting and re-importing hsf file"
	"11073", "Key.CopyTo(...) messes up the sub-keys order"
	"11041", "Sub-entity visual area selection of a vertex fails with negative displacement"
	"11030", "GetKeyState() cannot recognize space key of wide character"
	"10988", "Error when using ComponentPath::IsHidden() after highlighting"
	"10784", "Bad justification in TextKit"
	"10769", "Inventor file measurement issues"
	"10755", "Section cap flickering/disappear after we add measure"
	"10585", "Model moves with delay when panning camera compared with 2018SP2"
	"10278", "Data Cropped when using HPS.Hardcopy.GDI.Export"
